X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/86d90bc46005c00f2367ad759804f528adc4c6a5..a97808afec9e40f7178f8cabf0b4b274037abfb1:/tests/features/api/reverse.feature diff --git a/tests/features/api/reverse.feature b/tests/features/api/reverse.feature index b46ab2cd..f8c4f388 100644 --- a/tests/features/api/reverse.feature +++ b/tests/features/api/reverse.feature @@ -11,3 +11,28 @@ Feature: Reverse geocoding | ID | country | 0 | Deutschland + @Tiger + Scenario: TIGER house number + Given the request parameters + | addressdetails + | 1 + When looking up coordinates 40.6863624710666,-112.060005720023 + And exactly 1 result is returned + And result addresses contain + | ID | house_number | road | postcode | country_code + | 0 | 7094 | Kings Estate Drive | 84128 | us + And result 0 has not attributes osm_id,osm_type + + + @Tiger + Scenario: No TIGER house number for zoom < 18 + Given the request parameters + | addressdetails | zoom + | 1 | 17 + When looking up coordinates 40.6863624710666,-112.060005720023 + And exactly 1 result is returned + And result addresses contain + | ID | road | postcode | country_code + | 0 | Kings Estate Drive | 84128 | us + And result 0 has attributes osm_id,osm_type +