diff --git a/frontend/packages/operator-lifecycle-manager/integration-tests-cypress/tests/operator-uninstall.spec.ts b/frontend/packages/operator-lifecycle-manager/integration-tests-cypress/tests/operator-uninstall.spec.ts index 133f004b0f6f..1231e9873de7 100644 --- a/frontend/packages/operator-lifecycle-manager/integration-tests-cypress/tests/operator-uninstall.spec.ts +++ b/frontend/packages/operator-lifecycle-manager/integration-tests-cypress/tests/operator-uninstall.spec.ts @@ -39,7 +39,7 @@ const uninstallAndVerify = () => { cy.resourceShouldBeDeleted(testName, testOperand.kind, testOperand.exampleName); }; -xdescribe(`Testing uninstall of ${testOperator.name} Operator`, () => { +describe(`Testing uninstall of ${testOperator.name} Operator`, () => { before(() => { cy.login(); cy.visit('/'); @@ -52,6 +52,12 @@ xdescribe(`Testing uninstall of ${testOperator.name} Operator`, () => { testOperator.installedNamespace, ); operator.installedSucceeded(testOperator.name); + cy.log(`confirm ${testOperator.name} Subscription exists`); + operator.navToDetailsPage(testOperator.name, testOperator.installedNamespace); + cy.byLegacyTestID('horizontal-link-Subscription').click(); + cy.byTestID('loading-indicator').should('not.exist'); + cy.get('[data-test="msg-box-title"]').should('not.exist'); + cy.byTestSectionHeading('Subscription details').should('exist'); operator.createOperand(testOperator.name, testOperand, testOperator.installedNamespace); cy.byTestID(testOperand.exampleName).should('exist'); operator.operandShouldExist(testOperator.name, testOperand, testOperator.installedNamespace); @@ -103,7 +109,7 @@ xdescribe(`Testing uninstall of ${testOperator.name} Operator`, () => { cy.log('attempt to uninstall the Operator'); operator.uninstallModal.open(testOperator.name, testOperator.installedNamespace); - modal.submit(true); + modal.submit(); cy.wait('@deleteOperatorSubscriptionAndCSV'); alertExists('Error uninstalling Operator'); cy.get(submitButton).contains('OK'); // test change from 'Uninstall' @@ -120,7 +126,7 @@ xdescribe(`Testing uninstall of ${testOperator.name} Operator`, () => { cy.log('attempt uninstall the Operator and all Operand Instances'); operator.uninstallModal.open(testOperator.name, testOperator.installedNamespace); operator.uninstallModal.checkDeleteAllOperands(); - modal.submit(true); + modal.submit(); cy.wait('@deleteOperandInstance'); alertExists('Error uninstalling Operator'); alertExists('Error deleting Operands');