Then at most 50 results are returned
Scenario: Limit number of search results
- When sending json search query "schloss"
+ When sending json search query "landstr"
Then more than 4 results are returned
- When sending json search query "schloss"
+ When sending json search query "landstr"
| limit |
| 4 |
Then exactly 4 results are returned
| place | village |
Scenario Outline: Search with polygon threshold (json)
- When sending json search query "switzerland"
+ When sending json search query "triesenberg"
| polygon_geojson | polygon_threshold |
| 1 | <th> |
Then at least 1 result is returned
| 999 |
Scenario Outline: Search with polygon threshold (xml)
- When sending xml search query "switzerland"
+ When sending xml search query "triesenberg"
| polygon_geojson | polygon_threshold |
| 1 | <th> |
Then at least 1 result is returned
| 999 |
Scenario Outline: Search with invalid polygon threshold (xml)
- When sending xml search query "switzerland"
+ When sending xml search query "triesenberg"
| polygon_geojson | polygon_threshold |
| 1 | <th> |
Then a HTTP 400 is returned
| geokml |
Scenario: Search along a route
- When sending json search query "schloss" with address
+ When sending json search query "rathaus" with address
Then result addresses contain
| ID | town |
- | 0 | Vaduz |
- When sending json search query "schloss" with address
+ | 0 | Schaan |
+ When sending json search query "rathaus" with address
| bounded | routewidth | route |
| 1 | 0.1 | 9.54353,47.11772,9.54314,47.11894 |
Then result addresses contain