X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/b66004c3c554c87886afa170f9065be249a3d9d4..6f383d6073b68409e8da243356eccf5e2847f264:/test/bdd/api/reverse/queries.feature diff --git a/test/bdd/api/reverse/queries.feature b/test/bdd/api/reverse/queries.feature index 049dd1f4..e06b1775 100644 --- a/test/bdd/api/reverse/queries.feature +++ b/test/bdd/api/reverse/queries.feature @@ -50,4 +50,12 @@ Feature: Reverse geocoding When sending jsonv2 reverse coordinates 54.046489113,8.5546870529 Then results contain | display_name | - | ^.*Hamburg, Deutschland | + | 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 | + | 15 | + Then results contain + | display_name | + | Tacuarembó, Uruguay |