https://cypress.io logo
I'm testing if my users can login: ```typescript c...
# e2e-testing
h
I'm testing if my users can login:
Copy code
typescript
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:
Copy code
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?
2 Views