We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a720457 commit 8604f59Copy full SHA for 8604f59
packages/react-integration/cypress/integration/aboutmodal.spec.ts
@@ -1,10 +1,7 @@
1
describe('About Modal Demo Test', () => {
2
- it('Navigate to demo section', () => {
3
- cy.visit('http://localhost:3000/about-modal-demo-nav-link');
4
- });
5
-
6
it('Open + close about modal', () => {
7
- cy.get('#modal-button').click();
+ cy.visit('http://localhost:3000/about-modal-demo-nav-link');
+ cy.get('#modal-button', { timeout: 10000 }).should('be.visible').click();
8
cy.get('.pf-v6-c-about-modal-box').should('exist');
9
cy.get('.pf-v6-c-button[aria-label="Close Dialog"]').click();
10
cy.get('.pf-v6-c-about-modal-box').should('not.exist');
0 commit comments