Skip to content

Commit 852606f

Browse files
committed
Adjust timing
1 parent 6206ae0 commit 852606f

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
@@ -30,7 +30,7 @@ def test_validate_stream_basic(page: Page, local_app: ShinyAppProc) -> None:
3030

3131
stream = page.locator("#shiny_readme")
3232
expect(stream).to_be_visible(timeout=30_000)
33-
expect(stream).to_contain_text("pip install shiny", timeout=30)
33+
expect(stream).to_contain_text("pip install shiny", timeout=30_000)
3434

3535
# Check that the card body container (the parent of the markdown stream) is scrolled
3636
# all the way to the bottom
@@ -39,11 +39,11 @@ def test_validate_stream_basic(page: Page, local_app: ShinyAppProc) -> None:
3939

4040
stream2 = page.locator("#shiny_readme_err")
4141
expect(stream2).to_be_visible(timeout=30_000)
42-
expect(stream2).to_contain_text("Shiny", timeout=30)
42+
expect(stream2).to_contain_text("Shiny", timeout=30_000)
4343

4444
notification = page.locator(".shiny-notification-error")
4545
expect(notification).to_be_visible(timeout=30_000)
46-
expect(notification).to_contain_text("boom!", timeout=30)
46+
expect(notification).to_contain_text("boom!", timeout=30_000)
4747

4848
txt_result = controller.OutputText(page, "stream_result")
4949
txt_result.expect_value("Stream result: Basic stream")

0 commit comments

Comments
 (0)