mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
bdd: new step variant 'result contains in field'
This replaces the + notation for recursing into result dictionaries.
This commit is contained in:
@@ -7,9 +7,9 @@ Feature: Object details
|
||||
Then the result is valid json
|
||||
And result has attributes geometry
|
||||
And result has not attributes keywords,address,linked_places,parentof
|
||||
And results contain
|
||||
| geometry+type |
|
||||
| Point |
|
||||
And results contain in field geometry
|
||||
| type |
|
||||
| Point |
|
||||
|
||||
Scenario: JSON Details with pretty printing
|
||||
When sending json details query for W297699560
|
||||
@@ -75,9 +75,9 @@ Feature: Object details
|
||||
| 1 |
|
||||
Then the result is valid json
|
||||
And result has attributes geometry
|
||||
And results contain
|
||||
| geometry+type |
|
||||
| <geometry> |
|
||||
And results contain in field geometry
|
||||
| type |
|
||||
| <geometry> |
|
||||
|
||||
Examples:
|
||||
| osmid | geometry |
|
||||
|
||||
Reference in New Issue
Block a user