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 keywords
12 When sending json details query for W297699560
15 Then the result is valid json
16 And result has attributes keywords
18 Scenario: JSON Details with addressdetails
19 When sending json details query for W297699560
22 Then the result is valid json
23 And result has attributes address
25 Scenario: JSON Details with linkedplaces
26 When sending json details query for R123924
29 Then the result is valid json
30 And result has attributes linked_places
32 Scenario: JSON Details with hierarchy
33 When sending json details query for W297699560
36 Then the result is valid json
37 And result has attributes hierarchy
39 Scenario: JSON Details with linkedplaces
40 When sending json details query for R123924
43 Then the result is valid json
45 Scenario Outline: HTML Details with keywords
46 When sending json details query for <osmid>
49 Then the result is valid json