2 Feature: Object details
3 Testing different parameter options for details API.
6 When sending json details query for W297699560
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 And results contain in field geometry
14 Scenario: JSON Details with pretty printing
15 When sending json details query for W297699560
18 Then the result is valid json
19 And result has attributes geometry
20 And result has not attributes keywords,address,linked_places,parentof
22 Scenario: JSON Details with addressdetails
23 When sending json details query for W297699560
26 Then the result is valid json
27 And result has attributes address
29 Scenario: JSON Details with linkedplaces
30 When sending json details query for R123924
33 Then the result is valid json
34 And result has attributes linked_places
36 Scenario: JSON Details with hierarchy
37 When sending json details query for W297699560
40 Then the result is valid json
41 And result has attributes hierarchy
43 Scenario: JSON Details with grouped hierarchy
44 When sending json details query for W297699560
45 | hierarchy | group_hierarchy |
47 Then the result is valid json
48 And result has attributes hierarchy
50 Scenario Outline: JSON Details with keywords
51 When sending json details query for <osmid>
54 Then the result is valid json
55 And result has attributes keywords
65 Scenario: Details of a country with keywords
66 When sending details query for R1155955
69 Then the result is valid json
70 And result has attributes keywords
72 Scenario Outline: JSON details with full geometry
73 When sending json details query for <osmid>
76 Then the result is valid json
77 And result has attributes geometry
78 And results contain in field geometry
84 | W297699560 | LineString |
85 | W243055645 | Polygon |
86 | W243055716 | Polygon |
87 | W43327921 | LineString |