File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/react-integration/cypress/integration Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -6,11 +6,11 @@ describe('Page Demo Test', () => {
66 it ( 'Test Page elements' , ( ) => {
77 cy . get ( '#page-demo' ) . within ( ( ) => {
88 cy . get ( '#nav-toggle' ) . then ( ( hamburgerIcon : JQuery < HTMLDivElement > ) => {
9- cy . get ( '.pf-v6-c-page__sidebar.pf-m-expanded' ) . should ( 'exist' ) ;
10- cy . get ( '.pf-v6-c-page__sidebar.pf-m-collapsed' ) . should ( 'not.exist' ) ;
11- cy . wrap ( hamburgerIcon ) . click ( ) ;
12- cy . get ( '.pf-v6-c-page__sidebar.pf-m-collapsed' ) . should ( 'exist' ) ;
139 cy . get ( '.pf-v6-c-page__sidebar.pf-m-expanded' ) . should ( 'not.exist' ) ;
10+ cy . get ( '.pf-v6-c-page__sidebar.pf-m-collapsed' ) . should ( 'exist' ) ;
11+ cy . wrap ( hamburgerIcon ) . click ( ) ;
12+ cy . get ( '.pf-v6-c-page__sidebar.pf-m-collapsed' ) . should ( 'not.exist' ) ;
13+ cy . get ( '.pf-v6-c-page__sidebar.pf-m-expanded' ) . should ( 'exist' ) ;
1414 } ) ;
1515 cy . get ( '#page-demo-masthead' ) . should ( 'not.have.attr' , 'role' ) ;
1616 cy . get ( '#page-demo-page-id' ) . should ( 'not.have.attr' , 'role' ) ;
You can’t perform that action at this time.
0 commit comments