X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/4f86a91d6141b36a269967dc34ad65f4e8b1dfe5..56fd1bc1b5fde69ec2258aa94c4c9cb493554e41:/test/bdd/api/search/postcode.feature diff --git a/test/bdd/api/search/postcode.feature b/test/bdd/api/search/postcode.feature index 63c86469..e70495f6 100644 --- a/test/bdd/api/search/postcode.feature +++ b/test/bdd/api/search/postcode.feature @@ -26,6 +26,18 @@ Feature: Searches with postcodes | country_code | | li | + Scenario: Postcode search with bounded viewbox restriction + When sending json search query "9486" with address + | bounded | viewbox | + | 1 | 9.55,47.20,9.58,47.22 | + Then result addresses contain + | postcode | + | 9486 | + When sending json search query "9486" with address + | bounded | viewbox | + | 1 | 5.00,20.00,6.00,21.00 | + Then exactly 0 results are returned + Scenario: Postcode search with structured query When sending json search query "" with address | postalcode | country |