From 4395b8f71fca19e8e0ff80318c66102b2928e290 Mon Sep 17 00:00:00 2001 From: Michael Kret <88898367+michael-radency@users.noreply.github.com> Date: Fri, 1 Aug 2025 10:44:23 +0300 Subject: [PATCH] fix: Community update/uninstall e2e test fix (no-changelog) (#17884) --- cypress/pages/settings-community-nodes.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/cypress/pages/settings-community-nodes.ts b/cypress/pages/settings-community-nodes.ts index 454dc95e21..fade3e6b44 100644 --- a/cypress/pages/settings-community-nodes.ts +++ b/cypress/pages/settings-community-nodes.ts @@ -14,9 +14,13 @@ export const installFirstCommunityNode = (nodeName: string) => { }; export const confirmCommunityNodeUpdate = () => { - cy.getByTestId('communityPackageManageConfirm-modal').find('button').eq(1).click(); + cy.getByTestId('communityPackageManageConfirm-modal') + .contains('button', 'Confirm update') + .click(); }; export const confirmCommunityNodeUninstall = () => { - cy.getByTestId('communityPackageManageConfirm-modal').find('button').eq(1).click(); + cy.getByTestId('communityPackageManageConfirm-modal') + .contains('button', 'Confirm uninstall') + .click(); };