When sending json search query "<query>" with address
Then result addresses contain
| ID | road | city
- | 0 | Seegasse | Gemeinde Wieselburg-Land
+ | 0 | Seegasse | Wieselburg-Land
Examples:
| query
Scenario: House number search for non-street address
Given the request parameters
| accept-language
- | en
- When sending json search query "4 Pomocnia, Poland" with address
+ | en
+ When sending json search query "4 Pomocnia, Pokrzywnica, Poland" with address
Then address of result 0 is
| type | value
| house_number | 4
- | suburb | Pomocnia
+ | city | Pomocnia
| county | gmina Pokrzywnica
| state | Masovian Voivodeship
| postcode | 06-121
Testing that importance ordering returns sensible results
Scenario Outline: city order in street search
+ Given the request parameters
+ | limit
+ | 100
When sending json search query "<street>, <city>" with address
Then address of result 0 contains
| type | value