Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions tests/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
"#run-a-test-from-a-specific-breakpoint"
)

default_timeout = 10_000
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use this!


local_app = create_app_fixture(package_root / "app.py")

test_apps = Path(__file__).parent / "apps"
Expand All @@ -27,6 +29,7 @@


def test_qa_app(page: Page, qa_app: ShinyAppProc): # pragma: no cover
page.set_default_timeout(10_000)
page.goto(qa_app.url)

page.locator("#max_rows").fill("10000")
Expand All @@ -49,6 +52,7 @@ def test_local_app_validations(page: Page, local_app: ShinyAppProc): # pragma:
download_results_text = "You can now make a differentially private release"

# -- Select Dataset --
page.set_default_timeout(10_000)
page.goto(local_app.url)
expect(page).to_have_title("DP Wizard")
page.locator("#max_rows").fill("10000")
Expand Down Expand Up @@ -228,6 +232,7 @@ def img_path(name, ext=""):
analysis_requirements_warning = "select your dataset on the previous tab"
results_requirements_warning = "define your analysis on the previous tab"

page.set_default_timeout(10_000)
page.goto(local_app.url)

# For more compact screenshots:
Expand Down
Loading