From ca1e61a12db6c644daadd5f1975d6bb73ead4ba7 Mon Sep 17 00:00:00 2001 From: Julien ADAMEK Date: Thu, 20 Feb 2025 09:56:49 +0100 Subject: [PATCH] ci/ui: use latest stable ISO for maintenance test --- tests/cypress/latest/support/commands.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/cypress/latest/support/commands.ts b/tests/cypress/latest/support/commands.ts index 0eaf7f6e1..494fdedcb 100644 --- a/tests/cypress/latest/support/commands.ts +++ b/tests/cypress/latest/support/commands.ts @@ -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(); }