@@ -32,7 +32,7 @@ describe('OverflowMenu Demo Test', () => {
3232 it ( 'Verify dropdown menu expanded' , ( ) => {
3333 cy . get ( '#simple-overflow-menu button' ) . last ( ) . click ( { force : true } ) ;
3434 cy . get ( '#simple-overflow-menu .pf-v6-c-menu-toggle' ) . should ( 'have.class' , 'pf-m-expanded' ) ;
35- cy . get ( '.simple-overflow-menu.pf-v6-c-menu' ) . should ( 'be.visible' ) ;
35+ cy . get ( '.simple-overflow-menu.pf-v6-c-menu' , { timeout : 6000 } ) . should ( 'be.visible' ) ;
3636 // close overflow menu again
3737 cy . get ( '#simple-overflow-menu button' ) . last ( ) . click ( { force : true } ) ;
3838 } ) ;
@@ -69,7 +69,7 @@ describe('OverflowMenu Demo Test', () => {
6969 it ( 'Verify dropdown menu expanded' , ( ) => {
7070 cy . get ( '#additional-options-overflow-menu button' ) . last ( ) . click ( { force : true } ) ;
7171 cy . get ( '#additional-options-overflow-menu .pf-v6-c-menu-toggle' ) . should ( 'have.class' , 'pf-m-expanded' ) ;
72- cy . get ( '.additional-options-overflow-menu.pf-v6-c-menu' ) . should ( 'be.visible' ) ;
72+ cy . get ( '.additional-options-overflow-menu.pf-v6-c-menu' , { timeout : 6000 } ) . should ( 'be.visible' ) ;
7373 } ) ;
7474 } ) ;
7575 } ) ;
@@ -107,7 +107,7 @@ describe('OverflowMenu Demo Test', () => {
107107 it ( 'Verify dropdown menu expanded' , ( ) => {
108108 cy . get ( '#persist-overflow-menu button' ) . last ( ) . click ( { force : true } ) ;
109109 cy . get ( '#persist-overflow-menu .pf-v6-c-menu-toggle' ) . should ( 'have.class' , 'pf-m-expanded' ) ;
110- cy . get ( '.persist-overflow-menu.pf-v6-c-menu' ) . should ( 'be.visible' ) ;
110+ cy . get ( '.persist-overflow-menu.pf-v6-c-menu' , { timeout : 6000 } ) . should ( 'be.visible' ) ;
111111 } ) ;
112112 } ) ;
113113 } ) ;
@@ -142,7 +142,7 @@ describe('OverflowMenu Demo Test', () => {
142142 it ( 'Verify dropdown menu expanded' , ( ) => {
143143 cy . get ( '#container-breakpoint-overflow-menu button' ) . last ( ) . click ( { force : true } ) ;
144144 cy . get ( '#container-breakpoint-overflow-menu .pf-v6-c-menu-toggle' ) . should ( 'have.class' , 'pf-m-expanded' ) ;
145- cy . get ( '.container-breakpoint-overflow-menu.pf-v6-c-menu' ) . should ( 'be.visible' ) ;
145+ cy . get ( '.container-breakpoint-overflow-menu.pf-v6-c-menu' , { timeout : 6000 } ) . should ( 'be.visible' ) ;
146146 // close overflow menu again
147147 cy . get ( '#container-breakpoint-overflow-menu button' ) . last ( ) . click ( { force : true } ) ;
148148 } ) ;
0 commit comments