add test for reverse with address layer and inherited address

This commit is contained in:
Sarah Hoffmann
2025-07-31 22:25:13 +02:00
parent 47c0a101b9
commit a7709c768d

View File

@@ -78,3 +78,17 @@ Feature: Reverse geocoding
Then the result contains in field address
| house_number |
| 7 |
Scenario: Reverse - inherited address is shown by default
When reverse geocoding 47.0629071,9.4879694
Then the result contains
| osm_type | category | display_name |
| node | office | foo.li, 64, Hampfländer, Mäls, Balzers, Oberland, 9496, Liechtenstein |
Scenario: Reverse - inherited address is not shown with address layer
When reverse geocoding 47.0629071,9.4879694
| layer |
| address |
Then the result contains
| osm_type | category | display_name |
| way | building | 64, Hampfländer, Mäls, Balzers, Oberland, 9496, Liechtenstein |