Skip to content

Commit

Permalink
fix issue where cypress starts typing too soon into the input
Browse files Browse the repository at this point in the history
  • Loading branch information
slax57 committed Jun 27, 2024
1 parent 72452d8 commit 1746024
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cypress/e2e/login.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ export const login = (
email: string = '[email protected]',
password: string = 'password'
) => {
cy.wait(1000);
cy.findByLabelText('Email *').type(email);
cy.findByLabelText('Password *').type(password);
cy.findByText('Sign in').click();
Expand Down

0 comments on commit 1746024

Please sign in to comment.