mirror of
https://github.com/umap-project/umap.git
synced 2025-04-29 03:42:37 +02:00
Merge pull request #1965 from umap-project/playwright-tile-debug
chore: always use real tiles in playwright when in debug mode
This commit is contained in:
commit
eabc85dc98
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue