happy-dinner-13480
11/17/2022, 2:57 PMtypescript
cy.el('inputEmailAddress').type(Cypress.env('CUSTOM_EMAIL'));
cy.el('inputPassword').type(Cypress.env('CUSTOM_PASSWORD'));
cy.el('buttonLogin').click();
locally this is fine, but on my CI sometimes the second field isn't filled in.
Adding some waits seems to fix it:
typescript
cy.el('inputEmailAddress').type(Cypress.env('CUSTOM_EMAIL'));
cy.wait(500);
cy.el('inputPassword').type(Cypress.env('CUSTOM_PASSWORD'));
cy.wait(500);
cy.el('buttonLogin').click();
has anyone else experience this issue with typing multiple inputs in a row?