fix scope in new test and workflow for appharness

This commit is contained in:
Lendemor 2024-10-24 19:27:10 +02:00
parent 7ef08b1797
commit 1facb5be4c
2 changed files with 2 additions and 1 deletions

View File

@ -51,6 +51,7 @@ jobs:
SCREENSHOT_DIR: /tmp/screenshots
REDIS_URL: ${{ matrix.state_manager == 'redis' && 'redis://localhost:6379' || '' }}
run: |
poetry run playwright install --with-deps
poetry run pytest tests/integration
- uses: actions/upload-artifact@v4
name: Upload failed test screenshots

View File

@ -21,7 +21,7 @@ def StatelessApp():
app.add_page(index)
@pytest.fixture(scope="module")
@pytest.fixture(scope="session")
def stateless_app(tmp_path_factory) -> Generator[AppHarness, None, None]:
"""Create a stateless app AppHarness.