From 131e2003672f1ccc9db99104bad3f394b43e594c Mon Sep 17 00:00:00 2001 From: Don Walizer <12420708+dwalizer@users.noreply.github.com> Date: Tue, 17 Dec 2024 14:58:22 -0500 Subject: [PATCH] #2999 Rename button in tests --- e2e-tests/cypress/e2e/projects_crud_spec.js | 2 +- e2e-tests/cypress/e2e/projects_modal_management_spec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e-tests/cypress/e2e/projects_crud_spec.js b/e2e-tests/cypress/e2e/projects_crud_spec.js index cd3019f001..343417adf4 100644 --- a/e2e-tests/cypress/e2e/projects_crud_spec.js +++ b/e2e-tests/cypress/e2e/projects_crud_spec.js @@ -194,7 +194,7 @@ describe('Projects Admin Management Tests', () => { cy.get('[data-cy="projectCard_proj2"] [data-cy="deleteProjBtn"]') .click(); cy.contains('Removal Safety Check'); - cy.get('[data-cy="closeDialogBtn"]') + cy.get('[data-cy="closeButton"]') .click(); cy.get('[data-cy="projectCard_proj2"]') .should('exist'); diff --git a/e2e-tests/cypress/e2e/projects_modal_management_spec.js b/e2e-tests/cypress/e2e/projects_modal_management_spec.js index 7868664298..6665acef47 100644 --- a/e2e-tests/cypress/e2e/projects_modal_management_spec.js +++ b/e2e-tests/cypress/e2e/projects_modal_management_spec.js @@ -49,7 +49,7 @@ describe('Projects Modal Management Tests', () => { cy.get('[data-cy=deleteProjBtn]') .eq(0) .click(); - cy.get('[data-cy=closeDialogBtn]') + cy.get('[data-cy=closeButton]') .click(); cy.wait(200); cy.get('[data-cy=deleteProjBtn]')