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