]> git.openstreetmap.org Git - nominatim.git/blob - test/bdd/api/search/postcode.feature
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / test / bdd / api / search / postcode.feature
1 @APIDB
2 Feature: Searches with postcodes
3     Various searches involving postcodes
4
5     Scenario: US 5+4 ZIP codes are shortened to 5 ZIP codes if not found
6         When sending json search query "57701 1111, us" with address
7         Then result addresses contain
8             | postcode |
9             | 57701    |
10
11     Scenario: Postcode search with address
12         When sending json search query "9486, mauren"
13         Then at least 1 result is returned
14
15     Scenario: Postcode search with country
16         When sending json search query "9486, li" with address
17         Then result addresses contain
18             | country_code |
19             | li           |
20