Skip to content

Commit

Permalink
increase timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
mccalluc committed Nov 26, 2024
1 parent aac891d commit 38d4b98
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,12 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install flit
run: pip install flit
- name: Install subset of dev deps
run: pip install flit pytest pytest-playwright

- name: Install production deps
run: flit install --deps production

- name: Install subset of test deps
run:
pip install pytest pytest-playwright

- name: Install browsers
# Install just one browser instead of the default three.
# https://playwright.dev/python/docs/browsers#managing-browser-binaries
Expand Down
4 changes: 4 additions & 0 deletions tests/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ def test_demo_app(page: Page, demo_app: ShinyAppProc): # pragma: no cover


def test_default_app(page: Page, default_app: ShinyAppProc): # pragma: no cover
# Default 5s timeout works for me in dev,
# but in CI or fresh venv it is slower.
expect.set_options(timeout=10_000)

pick_dataset_text = "How many rows of the CSV"
perform_analysis_text = "Select numeric columns of interest"
download_results_text = "You can now make a differentially private release"
Expand Down

0 comments on commit 38d4b98

Please sign in to comment.