Skip to content

Commit

Permalink
pkp/pkp-lib#9890 Set {force: true} when clicking on SubmissionWizard …
Browse files Browse the repository at this point in the history
…- cypress test
  • Loading branch information
blesildaramirez committed Sep 12, 2024
1 parent d2aeac5 commit b55d57a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/tests/integration/SubmissionWizard.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ describe('Submission Wizard', function() {
cy.get('#titleAbstract-keywords-control-en').type('{downarrow}{enter}', {delay: 0});
cy.get('#citations-citationsRaw-control').type(submission.citations);

cy.get('.pkpSteps button:contains("Upload Files")').click();
cy.get('.pkpSteps button:contains("Upload Files")').click({ force: true });
cy.uploadSubmissionFiles([
{
'file': 'dummy.pdf',
Expand Down Expand Up @@ -583,7 +583,7 @@ describe('Submission Wizard', function() {
// Add missing data
cy.get('.pkpSteps button:contains("Details")').click();
cy.setTinyMceContent('titleAbstract-title-control-fr_CA', submission.title.fr_CA);
cy.get('.pkpSteps button:contains("Contributors")').click();
cy.get('.pkpSteps button:contains("Contributors")').click({ force: true });
cy.get('.listPanel__itemTitle:contains("Carlo Corino")')
.parents('.listPanel__item')
.find('button:contains("Edit")')
Expand Down

0 comments on commit b55d57a

Please sign in to comment.