diff --git a/frontend/src/__tests__/cypress/cypress/tests/mocked/modelRegistry/modelVersionArchive.cy.ts b/frontend/src/__tests__/cypress/cypress/tests/mocked/modelRegistry/modelVersionArchive.cy.ts index bc768236a5..675fe24ade 100644 --- a/frontend/src/__tests__/cypress/cypress/tests/mocked/modelRegistry/modelVersionArchive.cy.ts +++ b/frontend/src/__tests__/cypress/cypress/tests/mocked/modelRegistry/modelVersionArchive.cy.ts @@ -178,10 +178,6 @@ describe('Restoring archive version', () => { initIntercepts({}); modelVersionArchive.visit(); - // Bypass patternfly ExpandableSection error https://github.com/patternfly/patternfly-react/issues/10410 - // Cannot destructure property 'offsetWidth' of 'this.expandableContentRef.current' as it is null. - Cypress.on('uncaught:exception', () => false); - const archiveVersionRow = modelVersionArchive.getRow('model version 2'); archiveVersionRow.findKebabAction('Restore version').click(); diff --git a/frontend/src/__tests__/cypress/cypress/tests/mocked/modelRegistry/registeredModelArchive.cy.ts b/frontend/src/__tests__/cypress/cypress/tests/mocked/modelRegistry/registeredModelArchive.cy.ts index 97456039e2..f7a9186b42 100644 --- a/frontend/src/__tests__/cypress/cypress/tests/mocked/modelRegistry/registeredModelArchive.cy.ts +++ b/frontend/src/__tests__/cypress/cypress/tests/mocked/modelRegistry/registeredModelArchive.cy.ts @@ -155,10 +155,6 @@ describe('Restoring archive model', () => { initIntercepts({}); registeredModelArchive.visit(); - // Bypass patternfly ExpandableSection error https://github.com/patternfly/patternfly-react/issues/10410 - // Cannot destructure property 'offsetWidth' of 'this.expandableContentRef.current' as it is null. - Cypress.on('uncaught:exception', () => false); - const archiveModelRow = registeredModelArchive.getRow('model 2'); archiveModelRow.findKebabAction('Restore model').click();