]> git.openstreetmap.org Git - nominatim.git/blob - test/bdd/api/details/params.feature
b0a80f5b1df058cecd84db4751b8e3c424dce291
[nominatim.git] / test / bdd / api / details / params.feature
1 @APIDB
2 Feature: Object details
3     Testing different parameter options for details API.
4
5     Scenario: JSON Details
6         When sending json details query for W78099902
7         Then the result is valid json
8         And result has attributes geometry
9         And result has not attributes keywords,address,linked_places,parentof
10
11     Scenario: JSON Details with keywords
12         When sending json details query for W78099902
13             | keywords |
14             | 1 |
15         Then the result is valid json
16         And result has attributes keywords
17
18     Scenario: JSON Details with addressdetails
19         When sending json details query for W78099902
20             | addressdetails |
21             | 1 |
22         Then the result is valid json
23         And result has attributes address
24
25     Scenario: JSON Details with linkedplaces
26         When sending json details query for R123924
27             | linkedplaces |
28             | 1 |
29         Then the result is valid json
30         And result has attributes linked_places
31
32     Scenario: JSON Details with childplaces
33         When sending json details query for W78099902
34             | childplaces |
35             | 1 |
36         Then the result is valid json
37         And result has attributes parentof
38
39     Scenario: JSON Details with linkedplaces
40         When sending json details query for R123924
41             | linkedplaces |
42             | 1 |
43         Then the result is valid json