Skip to content

Commit f14ed74

Browse files
committed
update cypress test
Signed-off-by: gitdallas <5322142+gitdallas@users.noreply.github.com>
1 parent a94628d commit f14ed74

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/react-integration/cypress/integration/page.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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');

0 commit comments

Comments
 (0)