X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/2e1590ed89e16eea79c9c1f140b979b2533ea212..f6b5565db6ed86f353c483f4f5b61a3abaa497d9:/tests/features/api/reverse.feature diff --git a/tests/features/api/reverse.feature b/tests/features/api/reverse.feature index 2486b013..fa636acf 100644 --- a/tests/features/api/reverse.feature +++ b/tests/features/api/reverse.feature @@ -23,3 +23,41 @@ Feature: Reverse geocoding | 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 + + Scenario Outline: Reverse Geocoding with extratags + Given the request parameters + | extratags + | 1 + When looking up coordinates 48.86093,2.2978 + Then result 0 has attributes extratags + + Examples: + | format + | xml + | json + | jsonv2 + + Scenario Outline: Reverse Geocoding with namedetails + Given the request parameters + | namedetails + | 1 + When looking up coordinates 48.86093,2.2978 + Then result 0 has attributes namedetails + + Examples: + | format + | xml + | json + | jsonv2