Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TestCafe: Text entered in textfield is backwards

Entering text into a textfield is entered backwards

This does not happen in Safari and hasn't happened in the past. No changes were made that should have caused this.

TestCafe 1.2.0 NPM 6.9.0

export async function logInMyAccount(emailElement, userEmail, passElement, userPassword, button) { await t .typeText(Selector(emailElement), userEmail, { startPos: 0 }) .typeText(Selector(passElement), userPassword) .click(Selector(button)); }

await funct.logInMyAccount('#username', active.email , '#userpass', active.password, '#signIn');

should enter email as: [email protected] actual email entered: moc.etisym@evitca

like image 629
bwmathews Avatar asked Oct 15 '22 14:10

bwmathews


1 Answers

This is a known issue described in this thread:

typeText with Chrome 75 types each character at beginning of input

The fix was included in TestCafe v1.2.1.

like image 61
Alex Skorkin Avatar answered Oct 27 '22 09:10

Alex Skorkin