forked from hans/Nominatim
adjust BDD api test cases to 2018 test database
This commit is contained in:
@@ -5,7 +5,7 @@ Feature: Localization of reverse search results
|
||||
When sending json reverse coordinates 18.1147,-15.95
|
||||
Then result addresses contain
|
||||
| ID | country |
|
||||
| 0 | Mauritanie موريتانيا |
|
||||
| 0 | موريتانيا |
|
||||
|
||||
Scenario: accept-language parameter
|
||||
When sending json reverse coordinates 18.1147,-15.95
|
||||
|
||||
@@ -31,7 +31,7 @@ Feature: Reverse geocoding
|
||||
| way | place | house |
|
||||
And result addresses contain
|
||||
| house_number | road |
|
||||
| 1410 | Juan Antonio Lavalleja |
|
||||
| 1416 | Juan Antonio Lavalleja |
|
||||
|
||||
Scenario: Address with non-numerical house number
|
||||
When sending jsonv2 reverse coordinates 53.579805460944,9.9475670458196
|
||||
@@ -50,7 +50,7 @@ Feature: Reverse geocoding
|
||||
When sending jsonv2 reverse coordinates 54.046489113,8.5546870529
|
||||
Then results contain
|
||||
| display_name |
|
||||
| Freie und Hansestadt Hamburg, Deutschland |
|
||||
| Hamburg, Deutschland |
|
||||
|
||||
Scenario: When slightly outside town, the town is not shown
|
||||
When sending jsonv2 reverse coordinates -32.122,-56.114
|
||||
|
||||
@@ -19,30 +19,32 @@ Feature: Search queries
|
||||
| accept-language |
|
||||
| de |
|
||||
Then address of result 0 is
|
||||
| type | value |
|
||||
| house_number | 86 |
|
||||
| road | Schellingstraße |
|
||||
| suburb | Eilbek |
|
||||
| postcode | 22089 |
|
||||
| type | value |
|
||||
| house_number | 86 |
|
||||
| road | Schellingstraße |
|
||||
| neighbourhood | Auenviertel |
|
||||
| suburb | Eilbek |
|
||||
| postcode | 22089 |
|
||||
| city_district | Wandsbek |
|
||||
| state | Hamburg |
|
||||
| country | Deutschland |
|
||||
| country_code | de |
|
||||
| state | Hamburg |
|
||||
| country | Deutschland |
|
||||
| country_code | de |
|
||||
|
||||
Scenario: House number interpolation odd
|
||||
When sending json search query "Schellingstr 73, Hamburg" with address
|
||||
| accept-language |
|
||||
| de |
|
||||
Then address of result 0 is
|
||||
| type | value |
|
||||
| house_number | 73 |
|
||||
| road | Schellingstraße |
|
||||
| suburb | Eilbek |
|
||||
| postcode | 22089 |
|
||||
| type | value |
|
||||
| house_number | 73 |
|
||||
| road | Schellingstraße |
|
||||
| neighbourhood | Auenviertel |
|
||||
| suburb | Eilbek |
|
||||
| postcode | 22089 |
|
||||
| city_district | Wandsbek |
|
||||
| state | Hamburg |
|
||||
| country | Deutschland |
|
||||
| country_code | de |
|
||||
| state | Hamburg |
|
||||
| country | Deutschland |
|
||||
| country_code | de |
|
||||
|
||||
Scenario: With missing housenumber search falls back to road
|
||||
When sending json search query "342 rocha, santa lucia" with address
|
||||
|
||||
Reference in New Issue
Block a user