Skip to content

Commit 9d66e05

Browse files
committed
Fix e2e tests
1 parent a1b2157 commit 9d66e05

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

cypress/e2e/edit.cy.js

+5-2
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,11 @@ describe('Edit Page', () => {
4747
it('should redirect to list page after edit success', () => {
4848
// For some unknown reason, the click on submit didn't work in cypress
4949
// so we submit with enter
50-
EditPostPage.waitUntilVisible();
51-
EditPostPage.setInputValue('input', 'title', 'Lorem Ipsum{enter}');
50+
EditPostPage.setInputValue(
51+
'input',
52+
'title',
53+
'Lorem Ipsum again{enter}'
54+
);
5255
cy.url().should('match', /\/#\/posts$/);
5356
});
5457

0 commit comments

Comments
 (0)