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 27, 2024
1 parent 3606632 commit 064c673
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,6 @@ const initIntercepts = ({

describe('Model version archive list', () => {
it('No archive versions in the selected registered model', () => {
// 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);

initIntercepts({ modelVersions: [mockModelVersion({ id: '3', name: 'model version 2' })] });
modelVersionArchive.visitModelVersionList();
verifyRelativeURL('/modelRegistry/modelregistry-sample/registeredModels/1/versions');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,6 @@ describe('Model Versions', () => {
verifyRelativeURL('/modelRegistry/modelregistry-sample/registeredModels/1/versions/2/details');
cy.findByTestId('app-page-title').should('have.text', 'model version');
cy.findByTestId('breadcrumb-version-name').should('have.text', 'model version');
// 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);
cy.go('back');
verifyRelativeURL('/modelRegistry/modelregistry-sample/registeredModels/1/versions');
});
Expand Down

0 comments on commit 064c673

Please sign in to comment.