Also update regex

This commit is contained in:
Dimitar 2024-08-19 12:20:58 +03:00 committed by GitHub
parent 92e3de87db
commit f4c3a10251
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -76,7 +76,7 @@ def test_map_should_display_first_tilelayer_by_default(
page.goto(f"{live_server.url}/map/new")
tiles = page.locator(".leaflet-tile-pane img")
expect(tiles.first).to_have_attribute(
"src", re.compile(r"https://[abc].tile.openstreetmap.org/\d+/\d+/\d+.png")
"src", re.compile(r"https://tile.openstreetmap.org/\d+/\d+/\d+.png")
)