Skip to content

Commit

Permalink
test: Try waiting slightly longer for autosave.
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcknett committed May 19, 2024
1 parent 27a0e10 commit d5e20a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/e2e/happy-path.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ describe('Loggr End-to-end happy path tests', () => {
it('Can create a draft that persists', () => {
cy.get('#note').type('A draft note');

cy.wait(1100); // Draft takes a second to save
cy.wait(1500); // Draft takes a second to save

cy.visit(INDEX);
cy.get('#note').should('have.value', 'A draft note'); // .contains isn't working for a textarea; .should('have.value', ...) does, though.
Expand Down

0 comments on commit d5e20a3

Please sign in to comment.