Skip to content

Commit

Permalink
Merge pull request #9073 from bipuladh/fix-tests-47
Browse files Browse the repository at this point in the history
Bug 1966798: [release-4.7] Remove monitoring labelling step for 4.7 tests
  • Loading branch information
openshift-merge-robot committed Jun 3, 2021
2 parents 10b57ff + 8d10c5f commit d9f4379
Showing 1 changed file with 1 addition and 5 deletions.
Expand Up @@ -25,14 +25,10 @@ Cypress.Commands.add('install', (mode: 'Internal' | 'Attached' = 'Internal', enc

cy.log('Subscribe to OCS Operator');
cy.byLegacyTestID('operator-install-btn').click({ force: true });
cy.byTestID('stable-4.6-radio-input').click();
cy.byTestID('Operator recommended Namespace:-radio-input').should('be.checked');
cy.byTestID('enable-monitoring').click();
cy.byTestID('install-operator').click();
cy.byTestID('success-icon', { timeout: 180000 }).should('be.visible');
cy.exec('oc get project openshift-storage -o json').then((res) => {
const obj = JSON.parse(res.stdout);
expect(obj.metadata.labels?.['openshift.io/cluster-monitoring']).toEqual('true');
});

// Rook, Noobaa and OCS pod should come up after installation.
cy.exec('oc get po -n openshift-storage -o json').then((res) => {
Expand Down

0 comments on commit d9f4379

Please sign in to comment.