Skip to content

Commit

Permalink
ci/ui: fix operator upgrade for rancher 2.8
Browse files Browse the repository at this point in the history
  • Loading branch information
juadk committed Oct 23, 2024
1 parent 6f173b5 commit 05795eb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/cypress/latest/e2e/unit_tests/upgrade-operator.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,11 @@ describe('Elemental operator upgrade tests', () => {
it('Upgrade Elemental operator', () => {
cy.contains('local').click();
cy.get('.nav').contains('Apps').click();
cy.getBySel('chart-selection-grid').contains('Elemental', { timeout: 30000 }).click();
if (utils.isRancherManagerVersion('2.8')) {
cy.get('.grid').contains('Elemental', { timeout: 30000 }).click();
} else {
cy.getBySel('chart-selection-grid').contains('Elemental', { timeout: 30000 }).click();
}
cy.contains('Charts: Elemental', { timeout: 30000 });
cy.clickButton('Upgrade');
cy.contains('.header > .title', 'elemental-operator');
Expand Down

0 comments on commit 05795eb

Please sign in to comment.