diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4de8345..6e2e6ad 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/tests/e2e/test_login_flow.py b/tests/e2e/test_login_flow.py index 797b3c5..34e066b 100644 --- a/tests/e2e/test_login_flow.py +++ b/tests/e2e/test_login_flow.py @@ -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