We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1b2157 commit 9d66e05Copy full SHA for 9d66e05
cypress/e2e/edit.cy.js
@@ -47,8 +47,11 @@ describe('Edit Page', () => {
47
it('should redirect to list page after edit success', () => {
48
// For some unknown reason, the click on submit didn't work in cypress
49
// so we submit with enter
50
- EditPostPage.waitUntilVisible();
51
- EditPostPage.setInputValue('input', 'title', 'Lorem Ipsum{enter}');
+ EditPostPage.setInputValue(
+ 'input',
52
+ 'title',
53
+ 'Lorem Ipsum again{enter}'
54
+ );
55
cy.url().should('match', /\/#\/posts$/);
56
});
57
0 commit comments