File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
tests/playwright/examples Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -255,6 +255,13 @@ def on_console_msg(msg: ConsoleMessage) -> None:
255255 )
256256
257257 # check for shiny output errors
258- expect (page .locator (".shiny-busy" )).to_have_count (0 , timeout = SHINY_INIT_TIMEOUT )
259- error_locator = page .locator (".shiny-output-error" )
260- expect (error_locator ).to_have_count (0 , timeout = ERROR_ELEMENT_TIMEOUT )
258+ # Skip output error checks for SafeException example apps
259+ if ex_app_path not in [
260+ "shiny/api-examples/SafeException/app-express.py" ,
261+ "shiny/api-examples/SafeException/app-core.py" ,
262+ ]:
263+ expect (page .locator (".shiny-busy" )).to_have_count (
264+ 0 , timeout = SHINY_INIT_TIMEOUT
265+ )
266+ error_locator = page .locator (".shiny-output-error" )
267+ expect (error_locator ).to_have_count (0 , timeout = ERROR_ELEMENT_TIMEOUT )
You can’t perform that action at this time.
0 commit comments