Skip to content

Commit 8604f59

Browse files
committed
updated aboutmodal.spec.ts file
1 parent a720457 commit 8604f59

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
describe('About Modal Demo Test', () => {
2-
it('Navigate to demo section', () => {
3-
cy.visit('http://localhost:3000/about-modal-demo-nav-link');
4-
});
5-
62
it('Open + close about modal', () => {
7-
cy.get('#modal-button').click();
3+
cy.visit('http://localhost:3000/about-modal-demo-nav-link');
4+
cy.get('#modal-button', { timeout: 10000 }).should('be.visible').click();
85
cy.get('.pf-v6-c-about-modal-box').should('exist');
96
cy.get('.pf-v6-c-button[aria-label="Close Dialog"]').click();
107
cy.get('.pf-v6-c-about-modal-box').should('not.exist');

0 commit comments

Comments
 (0)