@@ -29,21 +29,21 @@ 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 )
33- expect (stream ).to_contain_text ("pip install shiny" )
32+ expect (stream ).to_be_visible (timeout = 30_000 )
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
3737 is_scrolled = is_element_scrolled_to_bottom (page , ".card-body" )
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 )
42- expect (stream2 ).to_contain_text ("Shiny" )
41+ expect (stream2 ).to_be_visible (timeout = 30_000 )
42+ expect (stream2 ).to_contain_text ("Shiny" , timeout = 30_000 )
4343
4444 notification = page .locator (".shiny-notification-error" )
45- expect (notification ).to_be_visible (timeout = 30 * 1000 )
46- expect (notification ).to_contain_text ("boom!" )
45+ expect (notification ).to_be_visible (timeout = 30_000 )
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