diff --git a/frontend/src/__tests__/cypress/cypress/pages/components/Modal.ts b/frontend/src/__tests__/cypress/cypress/pages/components/Modal.ts index a98a223924..b86ff0c403 100644 --- a/frontend/src/__tests__/cypress/cypress/pages/components/Modal.ts +++ b/frontend/src/__tests__/cypress/cypress/pages/components/Modal.ts @@ -11,8 +11,11 @@ export class Modal { } } + // FIXME Remove `hidden: true` once PF version is upgraded to 6.1.0. + // https://issues.redhat.com/browse/RHOAIENG-11946 + // https://github.com/patternfly/patternfly-react/issues/11041 find(): Cypress.Chainable> { - return cy.findByRole('dialog', { name: this.title }); + return cy.findByRole('dialog', { name: this.title, hidden: true }); } findCloseButton(): Cypress.Chainable> {