mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
remove tests for HTML output
This commit is contained in:
@@ -43,10 +43,10 @@ Feature: Object details
|
||||
Then the result is valid json
|
||||
|
||||
Scenario Outline: HTML Details with keywords
|
||||
When sending html details query for <osmid>
|
||||
When sending json details query for <osmid>
|
||||
| keywords |
|
||||
| 1 |
|
||||
Then the result is valid html
|
||||
Then the result is valid json
|
||||
|
||||
Examples:
|
||||
| osmid |
|
||||
|
||||
@@ -8,13 +8,9 @@ Feature: Object details
|
||||
|
||||
Examples:
|
||||
| format | object |
|
||||
| html | 492887 |
|
||||
| json | 492887 |
|
||||
| html | N4267356889 |
|
||||
| json | N4267356889 |
|
||||
| html | W230804120 |
|
||||
| json | W230804120 |
|
||||
| html | R123924 |
|
||||
| json | R123924 |
|
||||
|
||||
Scenario Outline: Details via unknown OSM id
|
||||
@@ -23,21 +19,19 @@ Feature: Object details
|
||||
|
||||
Examples:
|
||||
| format | object |
|
||||
| html | 1 |
|
||||
| json | 1 |
|
||||
| html | R1 |
|
||||
| json | R1 |
|
||||
|
||||
Scenario: Details with keywords
|
||||
When sending details query for W78099902
|
||||
| keywords |
|
||||
| 1 |
|
||||
Then the result is valid html
|
||||
Then the result is valid json
|
||||
|
||||
# ticket #1343
|
||||
Scenario: Details of a country with keywords
|
||||
When sending details query for R287072
|
||||
| keywords |
|
||||
| 1 |
|
||||
Then the result is valid html
|
||||
Then the result is valid json
|
||||
|
||||
|
||||
Reference in New Issue
Block a user