X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/4a5a997e18c61a37b0e12f840e735e305edc416f..0df5f77bc4c92e2f8f635105441779277435da67:/test/bdd/api/search/structured.feature diff --git a/test/bdd/api/search/structured.feature b/test/bdd/api/search/structured.feature index c93603d6..ec7eb1be 100644 --- a/test/bdd/api/search/structured.feature +++ b/test/bdd/api/search/structured.feature @@ -31,6 +31,33 @@ Feature: Structured search queries | attr | value | | querystring | Old Palace Road, GU2 7UP, United Kingdom | + Scenario: Street with housenumber, city and postcode + When sending xml search query "" with address + | street | city | postalcode | + | 19 Am schrägen Weg | Vaduz | 9490 | + Then result addresses contain + | house_number | road | + | 19 | Am Schrägen Weg | + + Scenario: Street with housenumber, city and bad postcode + When sending xml search query "" with address + | street | city | postalcode | + | 19 Am schrägen Weg | Vaduz | 9491 | + Then result addresses contain + | house_number | road | + | 19 | Am Schrägen Weg | + + Scenario: Amenity, city + When sending json search query "" with address + | city | amenity | + | Vaduz | church | + Then result addresses contain + | country | + | Liechtenstein | + And results contain + | class | type | + | amenity | place_of_worship | + Scenario: gihub #176 When sending json search query "" with address | city |