Skip to content

Commit

Permalink
Disable Rancher extension repository in UI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
juadk committed Dec 14, 2022
1 parent e441159 commit 19ace19
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions cypress/e2e/unit_tests/elemental_plugin.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,18 @@ describe('Install Elemental plugin', () => {
cy.visit('/');
});

it('Add elemental-ui repo', () => {
it.skip('Add elemental-ui repo', () => {
topLevelMenu.openIfClosed();
cy.contains('local').click();
cy.addHelmRepo({repoName: 'elemental-ui', repoUrl: 'https://github.com/rancher/elemental-ui.git', repoType: 'git'});
});

it('Enable extension support', () => {
it.skip('Enable extension support', () => {
topLevelMenu.openIfClosed();
cy.contains('Extensions').click();
cy.clickButton('Enable');
cy.contains('Enable Extension Support?')
cy.contains('Add the Rancher Extension Repository').click();
cy.clickButton('OK');
cy.contains('No Extensions installed', {timeout: 40000});
});
Expand All @@ -35,6 +36,11 @@ describe('Install Elemental plugin', () => {
cy.contains('Install Extension elemental');
cy.clickButton('Install');
cy.contains('Installing');
cy.wait(20000);
cy.contains('Extensions changed - reload required', {timeout: 40000});
cy.clickButton('Reload');
cy.get('.plugins')
.children()
.should('contain', 'elemental')
.and('contain', 'Uninstall')
});
});

0 comments on commit 19ace19

Please sign in to comment.