Skip to content

Commit

Permalink
Increase the global timeout for e2e expect assertions
Browse files Browse the repository at this point in the history
The default is 5s, but we seem to occasionally hit that, so
increase it to 10s for individual asserts.
rebkwok committed May 8, 2024
1 parent 93c5fbd commit 8a16c2c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/functional/conftest.py
Original file line number Diff line number Diff line change
@@ -5,10 +5,14 @@
import pytest
from django.conf import settings
from django.contrib.sessions.models import Session
from playwright.sync_api import expect

from tests import factories


expect.set_options(timeout=10_000)


@pytest.fixture(scope="session", autouse=True)
def set_env():
# This is required for playwright tests with Django

0 comments on commit 8a16c2c

Please sign in to comment.