bdd: add tests for valid debug output

This commit is contained in:
Sarah Hoffmann
2023-03-09 20:10:51 +01:00
parent db1aa4d02e
commit 2b7eb4906a
4 changed files with 39 additions and 13 deletions

View File

@@ -103,3 +103,16 @@ Feature: Object details
| category | type | admin_level |
| place | postcode | 15 |
And result has not attributes osm_type,osm_id
@v1-api-python-only
Scenario Outline: Details debug output returns no errors
When sending debug details query for <feature>
Then the result is valid html
Examples:
| feature |
| N5484325405 |
| W1 |
| 112820 |
| 112871 |

View File

@@ -132,6 +132,8 @@ Feature: Simple Reverse Tests
| Nan | 8.448 |
| 48.966 | Nan |
Scenario: Reverse Debug output returns no errors
@v1-api-python-only
Scenario: Reverse Debug output returns no errors
When sending debug reverse coordinates 47.11,9.57
Then a HTTP 200 is returned
Then the result is valid html