@@ -41,9 +41,9 @@ def test_dynamic_navs(page: Page, local_app: ShinyAppProc) -> None:
4141
4242    # Expect the Foo tabs to be visible again 
4343    navpanel2  =  controller .NavPanel (page , "tabs" , "Foo" ).loc .first 
44-     expect (navpanel2 ).to_be_visible (timeout = 10000 )
44+     expect (navpanel2 ).to_be_visible ()
4545    navpanel3  =  controller .NavPanel (page , "tabs" , "Foo" ).loc .last 
46-     expect (navpanel3 ).to_be_visible (timeout = 10000 )
46+     expect (navpanel3 ).to_be_visible ()
4747
4848    # Click remove-foo to remove the Foo tabs 
4949    removefoo  =  controller .InputActionButton (page , "removeFoo" )
@@ -68,7 +68,7 @@ def test_dynamic_navs(page: Page, local_app: ShinyAppProc) -> None:
6868    page .get_by_role ("button" , name = "Menu" , exact = True ).click ()
6969
7070    navpanel3  =  controller .NavPanel (page , "tabs" , "s1" ).loc 
71-     expect (navpanel3 ).to_be_visible (timeout = 20000 )
71+     expect (navpanel3 ).to_be_visible ()
7272
7373    # Click hide-menu to hide the static menu 
7474    hidemenu  =  controller .InputActionButton (page , "hideMenu" )
@@ -83,10 +83,8 @@ def test_dynamic_navs(page: Page, local_app: ShinyAppProc) -> None:
8383    showmenu .click ()
8484
8585    # Expect the Menu to be visible again 
86-     expect (page .get_by_role ("button" , name = "Menu" , exact = True )).to_be_visible (
87-         timeout = 10000 
88-     )
86+     expect (page .get_by_role ("button" , name = "Menu" , exact = True )).to_be_visible ()
8987    # Click the Menu button to show the static menu 
9088    page .get_by_role ("button" , name = "Menu" , exact = True ).click ()
9189    navpanel3  =  controller .NavPanel (page , "tabs" , "s1" ).loc 
92-     expect (navpanel3 ).to_be_visible (timeout = 20000 )
90+     expect (navpanel3 ).to_be_visible ()
0 commit comments