chore: always use real tiles in playwright when in debug mode

This commit is contained in:
Yohan Boniface 2024-07-02 19:11:39 +02:00
parent 2d1c4ad3c0
commit f8577c3639

View file

@ -22,7 +22,7 @@ def set_timeout(context):
@pytest.fixture(autouse=True)
def mock_osm_tiles(page):
if not bool(os.environ.get("PLAYWRIGHT_USE_TILES", False)):
if not bool(os.environ.get("PWDEBUG", False)):
page.route("*/**/osmfr/**", lambda route: route.fulfill())