2 Feature: Object details
3 Testing different parameter options for details API.
7 When sending json details query for W297699560
8 Then the result is valid json
9 And result has attributes geometry
10 And result has not attributes keywords,address,linked_places,parentof
11 And results contain in field geometry
16 Scenario: JSON Details with pretty printing
17 When sending json details query for W297699560
20 Then the result is valid json
21 And result has attributes geometry
22 And result has not attributes keywords,address,linked_places,parentof
25 Scenario: JSON Details with addressdetails
26 When sending json details query for W297699560
29 Then the result is valid json
30 And result has attributes address
33 Scenario: JSON Details with linkedplaces
34 When sending json details query for R123924
37 Then the result is valid json
38 And result has attributes linked_places
41 Scenario: JSON Details with hierarchy
42 When sending json details query for W297699560
45 Then the result is valid json
46 And result has attributes hierarchy
49 Scenario: JSON Details with grouped hierarchy
50 When sending json details query for W297699560
51 | hierarchy | group_hierarchy |
53 Then the result is valid json
54 And result has attributes hierarchy
56 Scenario Outline: JSON Details with keywords
57 When sending json details query for <osmid>
60 Then the result is valid json
61 And result has attributes keywords
71 Scenario: Details of a country with keywords
72 When sending details query for R1155955
75 Then the result is valid json
76 And result has attributes keywords
79 Scenario Outline: JSON details with full geometry
80 When sending json details query for <osmid>
83 Then the result is valid json
84 And result has attributes geometry
85 And results contain in field geometry
91 | W297699560 | LineString |
92 | W243055645 | Polygon |
93 | W243055716 | Polygon |
94 | W43327921 | LineString |