chore: set default language for tests as en-GB

This commit is contained in:
David Larlet 2024-06-13 13:41:00 -04:00
parent b197e067e8
commit 802d5d9d6c
No known key found for this signature in database
GPG key ID: 3E2953A359E7E7BD

View file

@ -7,6 +7,11 @@ import pytest
from playwright.sync_api import expect from playwright.sync_api import expect
@pytest.fixture(scope="session")
def browser_context_args(browser_context_args):
return {**browser_context_args, "locale": "en-GB"}
@pytest.fixture(autouse=True) @pytest.fixture(autouse=True)
def set_timeout(context): def set_timeout(context):
timeout = int(os.environ.get("PLAYWRIGHT_TIMEOUT", 7500)) timeout = int(os.environ.get("PLAYWRIGHT_TIMEOUT", 7500))