Skip to content

Commit 6cbca78

Browse files
committed
Expanding timeout test
1 parent 2b4d1a0 commit 6cbca78

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/playwright/shiny/components/MarkdownStream/basic/test_stream_basic.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def test_validate_stream_basic(page: Page, local_app: ShinyAppProc) -> None:
2929
page.goto(local_app.url)
3030

3131
stream = page.locator("#shiny_readme")
32-
expect(stream).to_be_visible(timeout=30 * 1000)
32+
expect(stream).to_be_visible(timeout=30 * 10000)
3333
expect(stream).to_contain_text("pip install shiny")
3434

3535
# Check that the card body container (the parent of the markdown stream) is scrolled
@@ -38,11 +38,11 @@ def test_validate_stream_basic(page: Page, local_app: ShinyAppProc) -> None:
3838
assert is_scrolled, "The card body container should be scrolled to the bottom"
3939

4040
stream2 = page.locator("#shiny_readme_err")
41-
expect(stream2).to_be_visible(timeout=30 * 1000)
41+
expect(stream2).to_be_visible(timeout=30 * 10000)
4242
expect(stream2).to_contain_text("Shiny")
4343

4444
notification = page.locator(".shiny-notification-error")
45-
expect(notification).to_be_visible(timeout=30 * 1000)
45+
expect(notification).to_be_visible(timeout=30 * 10000)
4646
expect(notification).to_contain_text("boom!")
4747

4848
txt_result = controller.OutputText(page, "stream_result")

0 commit comments

Comments
 (0)