X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/8150c3602bc71a1a225e94b0b881bbb7309ebf43..d856788bf5cf7b4b3e2b4de10f37cf3002ae6826:/test/bdd/api/search/geocodejson.feature?ds=sidebyside diff --git a/test/bdd/api/search/geocodejson.feature b/test/bdd/api/search/geocodejson.feature index f9132f70..271ec10c 100644 --- a/test/bdd/api/search/geocodejson.feature +++ b/test/bdd/api/search/geocodejson.feature @@ -1,17 +1,18 @@ +@SQLITE @APIDB Feature: Parameters for Search API Testing correctness of geocodejson output. Scenario: City housenumber-level address with street - When sending geocodejson search query "Brunnenhofstr 10, Hamburg" with address + When sending geocodejson search query "Im Winkel 8, Triesen" with address Then results contain - | housenumber | street | postcode | city | country | - | 10 | Brunnenhofstraße | 22767 | Hamburg | Deutschland | + | housenumber | street | postcode | city | country | + | 8 | Im Winkel | 9495 | Triesen | Liechtenstein | Scenario: Town street-level address with street When sending geocodejson search query "Gnetsch, Balzers" with address Then results contain - | street | city | postcode | country | + | name | city | postcode | country | | Gnetsch | Balzers | 9496 | Liechtenstein | Scenario: Town street-level address with footway @@ -21,7 +22,7 @@ Feature: Parameters for Search API | Burgweg | Balzers | 9496 | Liechtenstein | Scenario: City address with suburb - When sending geocodejson search query "hinschenfelder str 64, wandsbek" with address + When sending geocodejson search query "Lochgass 5, Ebenholz, Vaduz" with address Then results contain - | housenumber | street | locality | city | postcode | country | - | 64 | Hinschenfelder Straße | Wandsbek | Hamburg | 22047 | Deutschland | + | housenumber | street | district | city | postcode | country | + | 5 | Lochgass | Ebenholz | Vaduz | 9490 | Liechtenstein |