]> git.openstreetmap.org Git - nominatim.git/blob - test/bdd/api/search/geocodejson.feature
Merge branch 'separate-compilation' of https://github.com/eyusupov/Nominatim into...
[nominatim.git] / test / bdd / api / search / geocodejson.feature
1 @APIDB
2 Feature: Parameters for Search API
3     Testing correctness of geocodejson output.
4
5     Scenario: City housenumber-level address with street
6         When sending geocodejson search query "Brunnenhofstr 10, Hamburg" with address
7         Then results contain
8           | housenumber | street           | postcode | city    | country |
9           | 10          | Brunnenhofstraße | 22767    | Hamburg | Deutschland | 
10
11     Scenario: Town street-level address with street
12         When sending geocodejson search query "Gnetsch, Balzers" with address
13         Then results contain
14           | name    | city    | postcode | country |
15           | Gnetsch | Balzers | 9496     | Liechtenstein |
16
17     Scenario: Town street-level address with footway
18         When sending geocodejson search query "burg gutenberg 6000 jahre geschichte" with address
19         Then results contain
20           | street  | city    | postcode | country |
21           | Burgweg | Balzers | 9496     | Liechtenstein |
22
23     Scenario: City address with suburb
24         When sending geocodejson search query "hinschenfelder str 64, wandsbek" with address
25         Then results contain
26           | housenumber | street                | district | city    | postcode | country |
27           | 64          | Hinschenfelder Straße | Wandsbek | Hamburg | 22047    | Deutschland |