X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/f54ad3b86dc825462cc40aaeb23763d27aa6fdef..f6b5565db6ed86f353c483f4f5b61a3abaa497d9:/tests/features/api/regression.feature?ds=sidebyside diff --git a/tests/features/api/regression.feature b/tests/features/api/regression.feature index f5a94d30..bbff268a 100644 --- a/tests/features/api/regression.feature +++ b/tests/features/api/regression.feature @@ -1,19 +1,6 @@ Feature: API regression tests Tests error cases reported in tickets. - @poldi-only - Scenario Outline: github #36 - When sending json search 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: trac #2430 When sending json search query "89 River Avenue, Hoddesdon, Hertfordshire, EN11 0JT" Then at least 1 result is returned @@ -178,13 +165,51 @@ Feature: API regression tests | ID | class | latlon | 0 | highway | 51.8324206,1.2447352 +-100m + Scenario Outline: trac #5025 + When sending json search query "Kriegsstr , Karlsruhe" with address + Then result addresses contain + | house_number | road + | | 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 + | 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 "" 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