Skip to content

Commit

Permalink
pkp#10444 Update button click when showing an error on DOI modal
Browse files Browse the repository at this point in the history
  • Loading branch information
blesildaramirez committed Nov 14, 2024
1 parent 9a6db7e commit abc0657
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('Close')`).click();
cy.get(`div[role=dialog] button:contains('Ok')`).click();
}
});

Expand Down

0 comments on commit abc0657

Please sign in to comment.