Skip to content

Commit

Permalink
Merge pull request #7942 from bipuladh/fix_flake
Browse files Browse the repository at this point in the history
Fix flakiness in OCS Operator Installation test
  • Loading branch information
openshift-merge-robot committed Jan 28, 2021
2 parents ef18881 + 420fea6 commit 9fbc0ee
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -50,7 +50,10 @@ Cypress.Commands.add('install', (mode: 'Internal' | 'Attached' = 'Internal', enc

// Make changes to this once we add annotation
cy.log(`Install OCS in ${mode} Mode`);
commonFlows.navigateToOCS(true);
// Reload because StorageCluster CRD is not registered in the UI; hence getting 404 Error
cy.visit('/');
cy.reload(true);
commonFlows.navigateToOCS();
cy.byLegacyTestID('horizontal-link-Storage Cluster').click();
cy.byTestID('item-create').click();

Expand Down

0 comments on commit 9fbc0ee

Please sign in to comment.