Skip to content

Commit

Permalink
ci/ui: remove config file download btn workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
juadk committed Nov 26, 2024
1 parent 4ef6ea8 commit bb6f446
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions tests/cypress/latest/support/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,9 @@ Cypress.Commands.add('createMachReg', (
}

// Try to download the registration file and check it
// The button is broken in rancher 2.10, bug opened here
// https://github.com/rancher/elemental-ui/issues/229
if (!utils.isRancherManagerVersion('2.10')) {
cy.getBySel(selectors.downloadBtn).click();
cy.verifyDownload(`${machRegName}_registrationURL.yaml`);
cy.contains('Saving').should('not.exist');
}
cy.getBySel(selectors.downloadBtn).click();
cy.verifyDownload(`${machRegName}_registrationURL.yaml`);
cy.contains('Saving').should('not.exist');

// Check Cloud configuration
if (checkDefaultCloudConfig) {
Expand Down

0 comments on commit bb6f446

Please sign in to comment.