Skip to content

Commit

Permalink
ci/ui: update os channel repo for upgrade tests
Browse files Browse the repository at this point in the history
  • Loading branch information
juadk committed Oct 27, 2023
1 parent d45a185 commit a316fdd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/cypress/latest/support/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -399,10 +399,10 @@ Cypress.Commands.add('checkLabelSize', (sizeToCheck) => {

// Add an OS version channel
Cypress.Commands.add('addOsVersionChannel', (channelVersion) => {
let channelRepo = `registry.opensuse.org/isv/rancher/elemental/${channelVersion}/containers/rancher/elemental-teal-channel:latest`;
if (channelVersion == "stable") {
channelRepo = `registry.opensuse.org/isv/rancher/elemental/${channelVersion}/teal53/15.4/rancher/elemental-teal-channel/5.3:latest`;
}
let channelRepo = `registry.opensuse.org/isv/rancher/elemental/${channelVersion}/containers/rancher/elemental-teal-channel:latest`;
if (channelVersion == "stable") {
channelRepo = 'registry.suse.com/rancher/elemental-teal-channel:latest';
}
cy.clickNavMenu(["Advanced", "OS Version Channels"]);
cy.getBySel('masthead-create')
.contains('Create')
Expand All @@ -420,4 +420,4 @@ Cypress.Commands.add('addOsVersionChannel', (channelVersion) => {
cy.wait(10000);
// Make sure the new channel is in Active state
cy.contains("Active "+channelVersion+"-channel", {timeout: 50000});
});
});

0 comments on commit a316fdd

Please sign in to comment.