X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/8f299838f756045e2340a38d56a5dfe99d3f6196..bfc7acbb18f934fb1684020f0fb2339713608ae8:/test/bdd/api/search/queries.feature diff --git a/test/bdd/api/search/queries.feature b/test/bdd/api/search/queries.feature index f0474460..b2793faa 100644 --- a/test/bdd/api/search/queries.feature +++ b/test/bdd/api/search/queries.feature @@ -1,7 +1,16 @@ +@SQLITE @APIDB Feature: Search queries Generic search result correctness + Scenario: Search for natural object + When sending json search query "Samina" + | accept-language | + | en | + Then results contain + | ID | class | type | display_name | + | 0 | waterway | river | Samina, Austria | + Scenario: House number search for non-street address When sending json search query "6 Silum, Liechtenstein" with address | accept-language | @@ -127,6 +136,15 @@ Feature: Search queries | class | type | | leisure | firepit | + + Scenario: POI search in a bounded viewbox + When sending json search query "restaurants" + | viewbox | bounded | + | 9.50830,47.15253,9.52043,47.14866 | 1 | + Then results contain + | class | type | + | amenity | restaurant | + Scenario Outline: Key/value search near given coordinate can be restricted to country When sending json search query "[natural=peak] 47.06512,9.53965" with address | countrycodes |