From 916e13b7f519278bcf7c3bcd89e399789a5a6f60 Mon Sep 17 00:00:00 2001 From: Digvijay Jatkar Date: Wed, 9 Sep 2026 18:12:57 +0100 Subject: [PATCH 1/3] EAPQE-5337 adapt update-manager tests to new radio button wizard UI --- .../e2e/update-manager/test-update-custom-patch.cy.ts | 9 +++++---- .../e2e/update-manager/test-update-offline-archive.cy.ts | 5 +++-- .../test-update-online-and-revert-back.cy.ts | 5 +++-- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/packages/testsuite/cypress/e2e/update-manager/test-update-custom-patch.cy.ts b/packages/testsuite/cypress/e2e/update-manager/test-update-custom-patch.cy.ts index e0c7046d2..354ab2200 100644 --- a/packages/testsuite/cypress/e2e/update-manager/test-update-custom-patch.cy.ts +++ b/packages/testsuite/cypress/e2e/update-manager/test-update-custom-patch.cy.ts @@ -18,10 +18,11 @@ describe("TESTS: Update Manager => Updates => Custom patches", () => { it("Update server by custom patch", () => { cy.navigateToUpdateManagerPage(managementEndpoint, address); - cy.get("#update-manager-update-add-actions").click(); - cy.get("#update-manager-update-patch").click(); + cy.get("#update-manager-update-update").click(); + cy.get("input[type='radio'][name='type'][value='CUSTOM_PATCH']").check(); + cy.confirmNextInWizard(); cy.env(["PATCH_ZIP"]).then((env) => { - cy.get("input#update-manager-update-patch-form-custom-patch-file-editing").selectFile( + cy.get("input#update-manager-properties-form-custom-patch-file-editing").selectFile( env["PATCH_ZIP"] as string, { action: "drag-drop", @@ -29,7 +30,7 @@ describe("TESTS: Update Manager => Updates => Custom patches", () => { }, ); }); - cy.text("update-manager-update-patch-form", "manifest", "org.jboss.qe.eap:one-off-1"); + cy.text("update-manager-properties-form", "manifest", "org.jboss.qe.eap:one-off-1"); cy.confirmNextInWizard(); cy.get("#update-manager-list-updates", { timeout: timeoutTime }).should("be.visible").contains(artifactToBeUpdated); cy.confirmNextInWizard(); diff --git a/packages/testsuite/cypress/e2e/update-manager/test-update-offline-archive.cy.ts b/packages/testsuite/cypress/e2e/update-manager/test-update-offline-archive.cy.ts index c62e7af9c..d3649c06a 100644 --- a/packages/testsuite/cypress/e2e/update-manager/test-update-offline-archive.cy.ts +++ b/packages/testsuite/cypress/e2e/update-manager/test-update-offline-archive.cy.ts @@ -18,8 +18,9 @@ describe("TESTS: Update Manager => Updates => Offline using archive", () => { it("Ofline update from zip", () => { cy.navigateToUpdateManagerPage(managementEndpoint, address); - cy.get("#update-manager-update-add-actions").click(); - cy.get("#update-manager-update-offline").click(); + cy.get("#update-manager-update-update").click(); + cy.get("input[type='radio'][name='type'][value='OFFLINE']").check(); + cy.confirmNextInWizard(); cy.env(["UPDATE_ZIP"]).then((env) => { cy.get("input#upload-file-input").selectFile(env["UPDATE_ZIP"] as string, { action: "drag-drop", diff --git a/packages/testsuite/cypress/e2e/update-manager/test-update-online-and-revert-back.cy.ts b/packages/testsuite/cypress/e2e/update-manager/test-update-online-and-revert-back.cy.ts index e406383fc..72a351fc5 100644 --- a/packages/testsuite/cypress/e2e/update-manager/test-update-online-and-revert-back.cy.ts +++ b/packages/testsuite/cypress/e2e/update-manager/test-update-online-and-revert-back.cy.ts @@ -18,8 +18,9 @@ describe("TESTS: Update Manager => Updates => Online updates => Revert", () => { it("Online update", () => { cy.navigateToUpdateManagerPage(managementEndpoint, address); - cy.get("#update-manager-update-add-actions").click(); - cy.get("#update-manager-update-online").click(); + cy.get("#update-manager-update-update").click(); + cy.get("input[type='radio'][name='type'][value='ONLINE']").check(); + cy.confirmNextInWizard(); cy.get("#update-manager-list-updates", { timeout: timeoutTime }).should("be.visible").contains(artifactToBeUpdated); cy.confirmNextInWizard(); cy.get("div.blank-slate-pf.wizard-pf-complete", { timeout: timeoutTime }).contains("Server candidate prepared"); From ebc3789a736d366be371f4310cc944ba36461221 Mon Sep 17 00:00:00 2001 From: Digvijay Jatkar Date: Fri, 11 Sep 2026 19:46:03 +0100 Subject: [PATCH 2/3] EAPQE-5337 fix offline radio value and revert button selector --- .../e2e/update-manager/test-update-offline-archive.cy.ts | 2 +- .../update-manager/test-update-online-and-revert-back.cy.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/testsuite/cypress/e2e/update-manager/test-update-offline-archive.cy.ts b/packages/testsuite/cypress/e2e/update-manager/test-update-offline-archive.cy.ts index d3649c06a..9ff108410 100644 --- a/packages/testsuite/cypress/e2e/update-manager/test-update-offline-archive.cy.ts +++ b/packages/testsuite/cypress/e2e/update-manager/test-update-offline-archive.cy.ts @@ -19,7 +19,7 @@ describe("TESTS: Update Manager => Updates => Offline using archive", () => { it("Ofline update from zip", () => { cy.navigateToUpdateManagerPage(managementEndpoint, address); cy.get("#update-manager-update-update").click(); - cy.get("input[type='radio'][name='type'][value='OFFLINE']").check(); + cy.get("input[type='radio'][name='type'][value='OFFLINE_WITH_REPO']").check(); cy.confirmNextInWizard(); cy.env(["UPDATE_ZIP"]).then((env) => { cy.get("input#upload-file-input").selectFile(env["UPDATE_ZIP"] as string, { diff --git a/packages/testsuite/cypress/e2e/update-manager/test-update-online-and-revert-back.cy.ts b/packages/testsuite/cypress/e2e/update-manager/test-update-online-and-revert-back.cy.ts index 72a351fc5..fe0045dff 100644 --- a/packages/testsuite/cypress/e2e/update-manager/test-update-online-and-revert-back.cy.ts +++ b/packages/testsuite/cypress/e2e/update-manager/test-update-online-and-revert-back.cy.ts @@ -33,8 +33,8 @@ describe("TESTS: Update Manager => Updates => Online updates => Revert", () => { it("Revert the update", () => { cy.navigateToUpdateManagerPage(managementEndpoint, address); - cy.get("#update-manager-update > ul > li").first().click(); - cy.get("#update-manager-update > ul > li > a.clickable.btn.btn-finder").first().click(); + cy.get("#update-manager-update > ul > li").eq(1).click(); + cy.get("#update-manager-update > ul > li").eq(1).find("a.clickable.btn.btn-finder").click(); cy.get("#update-manager-list-updates", { timeout: timeoutTime }).should("be.visible").contains(artifactToBeUpdated); cy.confirmNextInWizard(); cy.get("div.blank-slate-pf.wizard-pf-complete", { timeout: timeoutTime }).contains("Server candidate prepared"); From d465a0721e18e47d6feef5c39acf9b639e272f9a Mon Sep 17 00:00:00 2001 From: Digvijay Jatkar Date: Fri, 11 Sep 2026 21:14:50 +0100 Subject: [PATCH 3/3] EAPQE-5337 fix offline file input selector for OFFLINE_WITH_REPO properties step --- .../e2e/update-manager/test-update-offline-archive.cy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/testsuite/cypress/e2e/update-manager/test-update-offline-archive.cy.ts b/packages/testsuite/cypress/e2e/update-manager/test-update-offline-archive.cy.ts index 9ff108410..6e2e60e59 100644 --- a/packages/testsuite/cypress/e2e/update-manager/test-update-offline-archive.cy.ts +++ b/packages/testsuite/cypress/e2e/update-manager/test-update-offline-archive.cy.ts @@ -22,7 +22,7 @@ describe("TESTS: Update Manager => Updates => Offline using archive", () => { cy.get("input[type='radio'][name='type'][value='OFFLINE_WITH_REPO']").check(); cy.confirmNextInWizard(); cy.env(["UPDATE_ZIP"]).then((env) => { - cy.get("input#upload-file-input").selectFile(env["UPDATE_ZIP"] as string, { + cy.get("input#update-manager-properties-form-maven-repo-files-editing").selectFile(env["UPDATE_ZIP"] as string, { action: "drag-drop", force: true, });