chore: set default navigation timeout for CI

This commit is contained in:
David Larlet 2024-04-19 11:33:38 -04:00
parent d8c2e14b42
commit dd69efb45b
No known key found for this signature in database
GPG key ID: 3E2953A359E7E7BD

View file

@ -6,6 +6,9 @@ import pytest
@pytest.fixture(autouse=True) @pytest.fixture(autouse=True)
def set_timeout(context): def set_timeout(context):
context.set_default_timeout(int(os.environ.get("PLAYWRIGHT_TIMEOUT", 7500))) context.set_default_timeout(int(os.environ.get("PLAYWRIGHT_TIMEOUT", 7500)))
context.set_default_navigation_timeout(
int(os.environ.get("PLAYWRIGHT_TIMEOUT", 7500))
)
@pytest.fixture(autouse=True) @pytest.fixture(autouse=True)