My Cypress test gets a textarea
, clears it, and types Comments mod test
.
cy.get('textarea.comment').then(ta => {
cy.wrap(ta).clear().type(`Comments mod test`)
But the intermittent result is omments mod testC
causing the test to fail an equality assertion. It appears the cursor is jumping back to the beginning of the line after typing the initial C
. Is this what's happening, if so how to prevent it, if not, what gives?
Aucun commentaire:
Enregistrer un commentaire