Skip to content

Commit

Permalink
Remove cypress suppression of uncaught exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
manaswinidas committed Aug 5, 2024
1 parent 73e69e5 commit f254913
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit f254913

Please sign in to comment.