Skip to content

Commit

Permalink
ci/ui: Force elemental ui rc7 for 2.9
Browse files Browse the repository at this point in the history
  • Loading branch information
juadk committed Jul 25, 2024
1 parent 24320d7 commit 2afb487
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/cypress/latest/e2e/unit_tests/elemental_plugin.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ filterTests(['main', 'upgrade'], () => {
describe('Install Elemental plugin', () => {

beforeEach(() => {
cy.viewport(1920, 1080);
cy.login();
cy.visit('/');
cypressLib.burgerMenuToggle();
Expand Down Expand Up @@ -65,6 +66,15 @@ filterTests(['main', 'upgrade'], () => {
cy.get('.plugin')
.contains('Install')
.click();
// Latest UI version is only compatible with 2.8
// Waiting on annotations inmplementation for 2.9
// We have to force the version to 1.3.1-rc7
if (isRancherManagerVersion('2.9') && isUIVersion('dev')) {
cy.getBySel('install-ext-modal-select-version')
.click();
cy.contains('1.3.1-rc7')
.click();
}
cy.clickButton('Install');
cy.contains('Installing');
cy.contains('Extensions changed - reload required', {timeout: 40000});
Expand Down

0 comments on commit 2afb487

Please sign in to comment.