Skip to content

Commit

Permalink
Merge pull request #9175 from ForumMagnum/wh-cypress-fix-2024-04
Browse files Browse the repository at this point in the history
Fix flaky cypress tests
  • Loading branch information
Will-Howard committed Apr 25, 2024
2 parents a5bc982 + 0ed9efc commit 542870f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cypress/e2e/posts/organizers_can_edit_posts.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ describe('Groups', function() {
cy.url().should('include', 'newPost');

// Fill in some event fields and submit
cy.get('.EditTitle-root').type('Test event 123');
cy.get('.EditTitle-root').wait(100).type('Test event 123');
cy.get('.ck-editor__editable').type('Test body 123');
cy.contains("Submit").click();

Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/voting/vote_on_post.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ describe('Posts', function() {
// First have testUser create a post
cy.loginAs(this.testUser);
cy.visit('/newPost');
cy.get('.EditTitle-root').type('Test post 123');
cy.get('.EditTitle-root').wait(100).type('Test post 123');
cy.get('.ck-editor__editable').type('Test body 123');
cy.contains("Submit").click();
cy.url().should('include', 'test-post-123');
Expand Down

0 comments on commit 542870f

Please sign in to comment.