X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/4a2c9431eea3ecb981a8fd4597cfe5d0149a0a78..72b01148d2d12f71c12440c15fa078b55e1c8f86:/test/bdd/api/lookup/simple.feature diff --git a/test/bdd/api/lookup/simple.feature b/test/bdd/api/lookup/simple.feature index dc80c235..6aae8c48 100644 --- a/test/bdd/api/lookup/simple.feature +++ b/test/bdd/api/lookup/simple.feature @@ -3,7 +3,7 @@ Feature: Places by osm_type and osm_id Tests Simple tests for response format. Scenario Outline: address lookup for existing node, way, relation - When sending lookup query for N3284625766,W6065798,,R123924,X99,N0 + When sending lookup query for N5484325405,W43327921,,R123924,X99,N0 Then the result is valid And exactly 3 results are returned @@ -18,3 +18,16 @@ Feature: Places by osm_type and osm_id Tests Scenario: address lookup for non-existing or invalid node, way, relation When sending xml lookup query for X99,,N0,nN158845944,ABC,,W9 Then exactly 0 results are returned + + Scenario Outline: Boundingbox is returned + When sending lookup query for N5484325405,W43327921 + Then exactly 2 results are returned + And result 0 has bounding box in 47.135,47.14,9.52,9.525 + And result 1 has bounding box in 47.07,47.08,9.50,9.52 + + Examples: + | format | + | json | + | jsonv2 | + | geojson | + | xml |