]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/bdd/api/reverse/simple.feature
bdd: add tests for valid debug output
[nominatim.git] / test / bdd / api / reverse / simple.feature
index 9ed530a5579d8eacd5fc92fa6dfbaa52e510b735..a65ca0ac4df958b601f7de88d5b8639a4cc268d1 100644 (file)
@@ -71,10 +71,10 @@ Feature: Simple Reverse Tests
       | geojson | geojson |
 
     Scenario Outline: Boundingbox is returned
-        When sending <format> reverse coordinates 14.62,108.1
+        When sending <format> reverse coordinates 47.11,9.57
           | zoom |
           | 8 |
-        Then result has bounding box in 9,20,102,113
+        Then result has bounding box in 47,48,9,10
 
     Examples:
       | format |
@@ -84,7 +84,7 @@ Feature: Simple Reverse Tests
       | xml |
 
     Scenario Outline: Reverse-geocoding with zoom
-        When sending <format> reverse coordinates 53.603,10.041
+        When sending <format> reverse coordinates 47.11,9.57
           | zoom |
           | 10 |
         Then exactly 1 result is returned
@@ -131,3 +131,9 @@ Feature: Simple Reverse Tests
      | 48.966   | 8.448.2 |
      | Nan      | 8.448 |
      | 48.966   | Nan |
+
+
+    @v1-api-python-only
+    Scenario: Reverse Debug output returns no errors
+        When sending debug reverse coordinates 47.11,9.57
+        Then the result is valid html