X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/f180f99a95b94432baa9ce4a6bdc3156641d49dd..0aa2ca64d2d7492b05f2e541764fbe159eb5a187:/test/bdd/api/search/params.feature?ds=inline diff --git a/test/bdd/api/search/params.feature b/test/bdd/api/search/params.feature index cdea3f69..ec8454b0 100644 --- a/test/bdd/api/search/params.feature +++ b/test/bdd/api/search/params.feature @@ -7,13 +7,13 @@ Feature: Search queries Then result 0 has attributes place_id,osm_type,osm_id And result 0 has attributes place_rank,boundingbox And result 0 has attributes lat,lon,display_name - And result 0 has attributes class,type,importance,icon + And result 0 has attributes class,type,importance And result 0 has not attributes address And result 0 has bounding box in 46.5,47.5,9,10 Scenario: Simple JSON search When sending json search query "Vaduz" - Then result 0 has attributes place_id,licence,icon,class,type + Then result 0 has attributes place_id,licence,class,type And result 0 has attributes osm_type,osm_id,boundingbox And result 0 has attributes lat,lon,display_name,importance And result 0 has not attributes address @@ -59,9 +59,8 @@ Feature: Search queries | ID | class | type | | 0 | leisure | dog_park | And result addresses contain - | ID | address29 | + | ID | leisure | | 0 | Hundeauslauf | - And address of result 0 has no types leisure,dog_park Scenario: Disabling deduplication When sending json search query "Sievekingsallee, Hamburg" @@ -303,18 +302,6 @@ Feature: Search queries | json | geotext | | jsonv2 | geotext | - Scenario Outline: Search result contains polygon-as-points geometry - When sending search query "Highmore" - | polygon | - | 1 | - Then result has attributes - - Examples: - | format | response_attribute | - | xml | polygonpoints | - | json | polygonpoints | - | jsonv2 | polygonpoints | - Scenario Outline: Search result contains SVG geometry When sending search query "Highmore" | polygon_svg | @@ -354,8 +341,8 @@ Feature: Search queries Scenario Outline: Search result in geojson format contains no non-geojson geometry When sending geojson search query "Highmore" - | polygon_text | polygon | polygon_svg | polygon_geokml | - | 1 | 1 | 1 | 1 | + | polygon_text | polygon_svg | polygon_geokml | + | 1 | 1 | 1 | Then result 0 has not attributes Examples: