fix: Fix smoke tests and E2E fixture scope issues
Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions
Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions
- Disable coverage plugin for smoke tests (pytest-cov not installed) - Change base_url fixture scope to session (pytest-playwright compatibility) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
f405bdafb9
commit
d6c68ff1b8
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -140,7 +140,7 @@ jobs:
|
||||
|
||||
- name: Run smoke tests
|
||||
run: |
|
||||
pytest tests/smoke/test_production_health.py -v
|
||||
pytest tests/smoke/test_production_health.py -v -p no:cov --override-ini="addopts="
|
||||
env:
|
||||
PROD_URL: https://nordabiznes.pl
|
||||
|
||||
|
||||
@ -33,7 +33,7 @@ TEST_ADMIN_PASSWORD = 'cSfQbbwegwv1v3Q2Dm0Q'
|
||||
BASE_URL = os.environ.get('BASE_URL', 'https://staging.nordabiznes.pl')
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
@pytest.fixture(scope="session")
|
||||
def base_url():
|
||||
"""Get base URL for tests."""
|
||||
return BASE_URL
|
||||
|
||||
Loading…
Reference in New Issue
Block a user