Skip to content

Commit

Permalink
Try stabilizing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
djhi committed Feb 24, 2025
1 parent 70e4917 commit 3a3c200
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cypress/e2e/edit.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ describe('Edit Page', () => {
it('should redirect to list page after edit success', () => {
// For some unknown reason, the click on submit didn't work in cypress
// so we submit with enter
EditPostPage.waitUntilVisible();
EditPostPage.setInputValue('input', 'title', 'Lorem Ipsum{enter}');
cy.url().should('match', /\/#\/posts$/);
});
Expand Down

0 comments on commit 3a3c200

Please sign in to comment.