]> git.openstreetmap.org Git - nominatim.git/blobdiff - tests/features/api/regression.feature
Merge branch 'feature/polygon-simplification' of https://github.com/a1exsh/Nominatim
[nominatim.git] / tests / features / api / regression.feature
index f1887e1a045615063edf5e67b3bd6fcca376b5c1..8a436fc3d41dac571fc4626557e737170e6b0d57 100644 (file)
@@ -1,19 +1,6 @@
 Feature: API regression tests
     Tests error cases reported in tickets.
 
 Feature: API regression tests
     Tests error cases reported in tickets.
 
-    @poldi-only
-    Scenario Outline: github #36
-        When sending json search query "<query>" with address
-        Then result addresses contain
-         | ID | road     | city
-         | 0  | Seegasse | Gemeinde Wieselburg-Land
-
-    Examples:
-         | query
-         | Seegasse, Gemeinde Wieselburg-Land
-         | Seegasse, Wieselburg-Land
-         | Seegasse, Wieselburg
-
     Scenario: trac #2430
         When sending json search query "89 River Avenue, Hoddesdon, Hertfordshire, EN11 0JT"
         Then at least 1 result is returned
     Scenario: trac #2430
         When sending json search query "89 River Avenue, Hoddesdon, Hertfordshire, EN11 0JT"
         Then at least 1 result is returned
@@ -178,9 +165,54 @@ Feature: API regression tests
          | ID | class   | latlon
          | 0  | highway | 51.8324206,1.2447352 +-100m
 
          | ID | class   | latlon
          | 0  | highway | 51.8324206,1.2447352 +-100m
 
+     Scenario Outline: trac #5025
+        When sending json search query "Kriegsstr <house_nr>, Karlsruhe" with address
+        Then result addresses contain
+          | house_number | road
+          | <house_nr>   | Kriegsstraße
+
+     Examples:
+        | house_nr
+        | 5c
+        | 25
+        | 78
+        | 80
+        | 99
+        | 130
+        | 153
+        | 196
+        | 256
+        | 294
+
      Scenario: trac #5238
         Given the request parameters
          | bounded | viewbox
          | 1       | 0,0,-1,-1
         When sending json search query "sy"
         Then exactly 0 results are returned
      Scenario: trac #5238
         Given the request parameters
          | bounded | viewbox
          | 1       | 0,0,-1,-1
         When sending json search query "sy"
         Then exactly 0 results are returned
+
+    Scenario: trac #5274
+        When sending json search query "Goedestraat 41-BS, Utrecht" with address
+        Then result addresses contain
+          | house_number | road        | city
+          | 41-BS        | Goedestraat | Utrecht
+
+    @poldi-only
+    Scenario Outline: github #36
+        When sending json search query "<query>" with address
+        Then result addresses contain
+         | ID | road     | city
+         | 0  | Seegasse | Wieselburg-Land
+
+    Examples:
+         | query
+         | Seegasse, Gemeinde Wieselburg-Land
+         | Seegasse, Wieselburg-Land
+         | Seegasse, Wieselburg
+
+    Scenario: github #190
+        When looking up place N257363453
+        Then the results contain
+         | osm_type   | osm_id     | latlon
+         | node       | 257363453  | 35.8404121,128.5586643 +-100m
+