Skip to content

Commit

Permalink
#10444 DOI cypress - use correct text when clicking the button
Browse files Browse the repository at this point in the history
  • Loading branch information
blesildaramirez committed Oct 14, 2024
1 parent 080ef32 commit dc2fd57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ Cypress.Commands.add('checkDoiMarkedStatus', (status, itemId, isValid, expectedS

cy.get(`#list-item-${itemType}-${itemId} .pkpBadge`).contains(expectedStatus);
if (!isValid) {
cy.get(`div[role=dialog] button:contains('Ok')`).click();
cy.get(`div[role=dialog] button:contains('OK')`).click();
}
});

Expand Down

0 comments on commit dc2fd57

Please sign in to comment.