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
11 Scenario: JSON Details with pretty printing
12 When sending json details query for W297699560
15 Then the result is valid json
16 And result has attributes geometry
17 And result has not attributes keywords,address,linked_places,parentof
19 Scenario: JSON Details with addressdetails
20 When sending json details query for W297699560
23 Then the result is valid json
24 And result has attributes address
26 Scenario: JSON Details with linkedplaces
27 When sending json details query for R123924
30 Then the result is valid json
31 And result has attributes linked_places
33 Scenario: JSON Details with hierarchy
34 When sending json details query for W297699560
37 Then the result is valid json
38 And result has attributes hierarchy
40 Scenario: JSON Details with grouped hierarchy
41 When sending json details query for W297699560
42 | hierarchy | group_hierarchy |
44 Then the result is valid json
45 And result has attributes hierarchy
47 Scenario Outline: JSON Details with keywords
48 When sending json details query for <osmid>
51 Then the result is valid json
52 And result has attributes keywords
62 Scenario: Details of a country with keywords
63 When sending details query for R1155955
66 Then the result is valid json
68 Scenario Outline: JSON details with full geometry
69 When sending json details query for <osmid>
72 Then the result is valid json
73 And result has attributes geometry