Skip to content

Commit

Permalink
pkp/pkp-lib#9890 Add {force:true} when clicking wizard step buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
blesildaramirez committed Sep 18, 2024
1 parent c037a3a commit 7ade309
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Cypress.Commands.add('createSubmissionWithApi', (data, csrfToken) => {

})
.then(() => {
cy.get('.pkpSteps__step__label:contains("Details")').click();
cy.get('.pkpSteps__step__label:contains("Details")').click({force: true});
})
.addSubmissionAuthorsWithApi(api, data, csrfToken)
.addChapters(data.chapters);
Expand Down
2 changes: 1 addition & 1 deletion cypress/tests/data/60-content/AfinkelSubmission.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ describe('Data suite tests', function() {
cy.get('a').contains(submission.title).click();

// Go back to Details step and add chapters
cy.get('.pkpSteps__step__label:contains("Details")').click();
cy.get('.pkpSteps__step__label:contains("Details")').click({force: true});
cy.addChapters(submission.chapters);

cy.get('.submissionWizard__footer button').contains('Continue').click();
Expand Down

0 comments on commit 7ade309

Please sign in to comment.