Skip to content

Commit

Permalink
pkp/pkp-lib#7505 Add Waits to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
defstat committed Dec 23, 2023
1 parent 8deff04 commit 9075d3e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cypress/tests/data/60-content/CmontgomerieSubmission.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,9 @@ describe('Data suite: Cmontgomerie', function() {
cy.get('[id^="publish"] button:contains("Post")').click();

// Create 2nd version and change copyright holder
cy.wait(1500);
cy.get('div.pkpPublication button:contains("Create New Version"):visible').click();
cy.wait(1500);
cy.get('div:contains("Are you sure you want to create a new version?")');
cy.get('.modal__footer button').contains('Yes').click();
cy.get('#license-button').click();
Expand Down

0 comments on commit 9075d3e

Please sign in to comment.