Skip to content

Commit

Permalink
ci/ui: use latest stable ISO for maintenance test
Browse files Browse the repository at this point in the history
  • Loading branch information
juadk committed Feb 20, 2025
1 parent d452138 commit ca1e61a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/cypress/latest/support/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ Cypress.Commands.add('createMachReg', (
// Sometimes we want to test dev/staging operator version with stable OS version
} else if ( utils.isOsVersion('stable') && utils.isOperatorVersion('dev') || utils.isOperatorVersion('staging')) {
cy.contains(Cypress.env('iso_stable_os_version')).click();
} else if (utils.isOperatorVersion('maintenance')) {
cy.get('.vs__dropdown-option').last().prev().click();
} else {
cy.contains('(unstable)').click();
}
Expand Down

0 comments on commit ca1e61a

Please sign in to comment.