Skip to content

Commit 368b548

Browse files
committed
Delete comment
1 parent b9ae46c commit 368b548

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/app-tests.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ jobs:
7676
run: python3 -m pytest -s -vv --cov --cov-fail-under=85
7777
- name: Run E2E tests with Playwright
7878
id: e2e
79-
#if: runner.os != 'Windows'
8079
run: |
8180
playwright install chromium --with-deps
8281
python3 -m pytest tests/e2e.py --tracing=retain-on-failure

tests/conftest.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ def monkeypatch_session():
4343
@pytest.fixture(scope="session")
4444
def mock_session_env(monkeypatch_session):
4545
"""Mock the environment variables for testing."""
46+
# Note that this does *not* clear existing env variables by default-
47+
# we used to specify clear=True but this caused issues with Playwright tests
48+
# https://github.com/microsoft/playwright-python/issues/2506
4649
with mock.patch.dict(os.environ):
4750
# Database
4851
monkeypatch_session.setenv("POSTGRES_HOST", POSTGRES_HOST)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy