X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/a7e1b3b1eeec1cebc71ee7ae0282dfe3bb31456c..051998dd80b0def50058266b7adbdf2e971032eb:/tests/features/api/search.feature diff --git a/tests/features/api/search.feature b/tests/features/api/search.feature index 859faa76..656bfb29 100644 --- a/tests/features/api/search.feature +++ b/tests/features/api/search.feature @@ -36,7 +36,7 @@ Feature: Search queries Then address of result 0 contains | type | value | house_number | 140 - | road | rue Don Bosco + | road | [Rr]ue Don Bosco | city | Saguenay | state | Quebec | country | Canada @@ -50,7 +50,7 @@ Feature: Search queries Then address of result 0 contains | type | value | house_number | 141 - | road | rue Don Bosco + | road | [rR]ue Don Bosco | city | Saguenay | state | Quebec | country | Canada @@ -59,12 +59,16 @@ Feature: Search queries @Tiger Scenario: TIGER house number When sending json search query "3 West Victory Way, Craig" - Then result 0 has not attributes osm_id,osm_type + Then results contain + | osm_type + | tiger @Tiger Scenario: TIGER house number (road fallback) When sending json search query "3030 West Victory Way, Craig" - Then result 0 has attributes osm_id,osm_type + Then results contain + | osm_type + | way Scenario: Expansion of Illinois Given the request parameters