Skip to content

Commit

Permalink
Reset headless mode in web tests
Browse files Browse the repository at this point in the history
  • Loading branch information
benbusby committed Sep 18, 2024
1 parent f3ce800 commit b2b31e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/tests/test_multi_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
@pytest.fixture(scope="session")
def browser_context() -> BrowserContext:
with sync_playwright() as p:
browser: Browser = p.chromium.launch(slow_mo=300, headless=False)
browser: Browser = p.chromium.launch(slow_mo=100)
context_a: BrowserContext = browser.new_context()
context_b: BrowserContext = browser.new_context()
yield context_a, context_b
Expand Down
2 changes: 1 addition & 1 deletion web/tests/test_single_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@pytest.fixture(scope="session")
def browser_context() -> BrowserContext:
with sync_playwright() as p:
browser: Browser = p.chromium.launch(slow_mo=100, headless=False)
browser: Browser = p.chromium.launch(slow_mo=100)
context: BrowserContext = browser.new_context()
yield context
browser.close()
Expand Down

0 comments on commit b2b31e3

Please sign in to comment.