2 Feature: Object details
3 Check details page for correctness
5 Scenario Outline: Details via OSM id
6 When sending details query for <object>
7 Then the result is valid html
16 Scenario: Details with keywords
17 When sending details query for W78099902
20 Then the result is valid html
22 Scenario: JSON Details
23 When sending json details query for W78099902
24 Then the result is valid json
25 And result has not attributes place_search_name_keywords,place_search_address_keywords,address_lines,linked_lines,parentof_lines
27 Scenario: JSON Details with keywords
28 When sending json details query for W78099902
31 Then the result is valid json
32 And result has attributes place_search_name_keywords,place_search_address_keywords
34 Scenario: JSON Details with addressdetails
35 When sending json details query for W78099902
38 Then the result is valid json
39 And result has attributes address_lines
41 Scenario: JSON Details with linkedplaces
42 When sending json details query for R123924
45 Then the result is valid json
46 And result has attributes linked_lines
48 Scenario: JSON Details with childplaces
49 When sending json details query for W78099902
52 Then the result is valid json
53 And result has attributes parentof_lines