DevExpress / testcafe

A Node.js tool to automate end-to-end web testing.
https://testcafe.io
MIT License
9.81k stars 670 forks source link

IE11 Input Typing Problem #4064

Closed franciscolosardo closed 2 years ago

franciscolosardo commented 5 years ago

What is your Test Scenario?

Given a webpage with 2 input fields i'm trying to type text into both. Problem is presented when using IE11 on saucelabs with testcafe. Typetext only inputs text to the first of both inputs, the second time i call typeText method it doesn't seem to work correctly.

What is the Current behavior?

When using typeText method on first input (could be any of the two inputs mentioned) it types perfectly the text passed. Later when i try to switch to the other input and type text into it it refuses to type the text or even select the input requested. I tried both clicking and then typeText methods but nothing seems to work in IE11. Taking in consideration this works without any problem on chrome and firefox it's possibly a problem fully related to IE11.

What is the Expected behavior?

typeText method should switch between these two input fields typing the correct text. Using click and then triggering the typeText method or just by using typeText method.

What is your web application and your TestCafe test code?

Your website URL (or attach your complete example): https://anypoint.mulesoft.com/login/

Your complete test code (or attach your test files): ``` // Please note all code below works on chrome and firefox and selectors are properly initialized await t.click(loginPage.userNameInput); await t.typeText(loginPage.userNameInput,username,{replace:true,caretPos:0,paste:true}); await t.click(loginPage.passwordInpu); await t.typeText(loginPage.passwordInput,password,{replace:true,caretPos:0,paste:true}); await t.click(loginPage.signInButton); ```
Your complete configuration file (if any): ``` ```
Your complete test report: ``` ```
Screenshots: ``` ```

Steps to Reproduce:

  1. Go to my website ...
  2. Try to fill in username and password with any value...
  3. Second input field tried to access isn't filled up

Your Environment details:

franciscolosardo commented 5 years ago

Just confirmed this also happens using IE11 on a local instance of testcafe on a windows 8.1 PC

miherlosev commented 5 years ago

Hi @franciscolosardo

Thank you for the provided detail. I've reproduced the problem.

For team: I've reproduced the problem with IE11 on Windows 10.

fixture `Fixture`
    .page('https://anypoint.mulesoft.com/login/');

test('test', async t => {
    await t
        .typeText('input[name=username]', '<username>') // need to register before
        .typeText('input[name=password]', '<password>')
        .click('[data-test-id=SignIn-Submit]');
}); 
ngrossi commented 5 years ago

Hi Team: This issue is also affecting us in some way. it would be nice to have a fix soon.

Nic :)

mnbattaglia commented 5 years ago

Hi guys. This is blocking us too. Any updates on this? Thanks!

AlexKamaev commented 5 years ago

@mnbattaglia not yet, we'll close this issue once we fix it.

github-actions[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had any activity for a long period. It will be closed and archived if no further activity occurs. However, we may return to this issue in the future. If it still affects you or you have any additional information regarding it, please leave a comment and we will keep it open.

github-actions[bot] commented 2 years ago

We're closing this issue after a prolonged period of inactivity. If it still affects you, please add a comment to this issue with up-to-date information. Thank you.