From 1746024a390c747ddc8de3f6d2310d6c222df1b1 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kaiser Date: Thu, 27 Jun 2024 17:28:20 +0200 Subject: [PATCH] fix issue where cypress starts typing too soon into the input --- cypress/e2e/login.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/cypress/e2e/login.ts b/cypress/e2e/login.ts index 91bb4ba..0200a46 100644 --- a/cypress/e2e/login.ts +++ b/cypress/e2e/login.ts @@ -2,6 +2,7 @@ export const login = ( email: string = 'janedoe@atomic.dev', password: string = 'password' ) => { + cy.wait(1000); cy.findByLabelText('Email *').type(email); cy.findByLabelText('Password *').type(password); cy.findByText('Sign in').click();