Skip to content

Commit

Permalink
#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 Oct 11, 2024
1 parent 015623d commit ff6494c
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 ff6494c

Please sign in to comment.