Skip to content

Commit

Permalink
#2999 Rename button in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dwalizer committed Dec 17, 2024
1 parent 4bce7b7 commit 131e200
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion e2e-tests/cypress/e2e/projects_crud_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
2 changes: 1 addition & 1 deletion e2e-tests/cypress/e2e/projects_modal_management_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]')
Expand Down

0 comments on commit 131e200

Please sign in to comment.