From d5e20a385908dfad6cbbfe70fb4aa6f42242615d Mon Sep 17 00:00:00 2001 From: Matt McKnett Date: Sun, 19 May 2024 16:30:42 -0700 Subject: [PATCH] test: Try waiting slightly longer for autosave. --- cypress/e2e/happy-path.cy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/e2e/happy-path.cy.ts b/cypress/e2e/happy-path.cy.ts index a051120..53ed54b 100644 --- a/cypress/e2e/happy-path.cy.ts +++ b/cypress/e2e/happy-path.cy.ts @@ -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.