]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/bdd/api/search/params.feature
Merge pull request #782 from lonvia/rework-postcodes
[nominatim.git] / test / bdd / api / search / params.feature
index 6590737982f2fe7f41e183d839ce0624a8b15200..bfc7cb152d5edf015920b3164c376ef872393589 100644 (file)
@@ -30,6 +30,8 @@ Feature: Search queries
 
     Scenario: XML search with addressdetails
         When sending xml search query "Aleg" with address
+          | accept-language |
+          | en |
         Then address of result 0 is
           | type         | value |
           | city         | Aleg |
@@ -39,6 +41,8 @@ Feature: Search queries
 
     Scenario: coordinate search with addressdetails
         When sending json search query "14.271104294939,107.69828796387"
+          | accept-language |
+          | en |
         Then results contain
           | display_name |
           | Plei Ya RĂȘ, Kon Tum province, Vietnam |
@@ -62,20 +66,20 @@ Feature: Search queries
         Then there are duplicates
 
     Scenario: Search with bounded viewbox in right area
-        When sending json search query "restaurant" with address
+        When sending json search query "bar" with address
           | bounded | viewbox |
-          | 1       | 9.93027,53.61634,10.10073,53.54500 |
+          | 1       | -56.16786,-34.84061,-56.12525,-34.86526 |
         Then result addresses contain
-          | state |
-          | Hamburg |
+          | city |
+          | Montevideo |
 
     Scenario: Search with bounded viewboxlbrt in right area
-        When sending json search query "restaurant" with address
+        When sending json search query "bar" with address
           | bounded | viewboxlbrt |
-          | 1       | 9.93027,53.54500,10.10073,53.61634 |
+          | 1       | -56.16786,-34.86526,-56.12525,-34.84061 |
         Then result addresses contain
-          | state |
-          | Hamburg |
+          | city |
+          | Montevideo |
 
     Scenario: No POI search with unbounded viewbox
         When sending json search query "restaurant"