X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/f50f46c1ce3fe44d8de55071d2fe1126ecb1d0ac..6f383d6073b68409e8da243356eccf5e2847f264:/test/bdd/api/reverse/queries.feature?ds=sidebyside diff --git a/test/bdd/api/reverse/queries.feature b/test/bdd/api/reverse/queries.feature index a6c1dd34..e06b1775 100644 --- a/test/bdd/api/reverse/queries.feature +++ b/test/bdd/api/reverse/queries.feature @@ -48,8 +48,14 @@ Feature: Reverse geocoding Scenario: Location off the coast When sending jsonv2 reverse coordinates 54.046489113,8.5546870529 + Then results contain + | display_name | + | Freie und Hansestadt Hamburg, Deutschland | + + Scenario: When slightly outside town, the town is not shown + When sending jsonv2 reverse coordinates -32.122,-56.114 | zoom | - | 5 | + | 15 | Then results contain - | error | - | Unable to geocode | + | display_name | + | Tacuarembó, Uruguay |