testcafe: Typing text with testcafe is slow in our app for a particular page, dropdown actions in that page are executing fast
What is your Test Scenario?
Typing text in a text field (Attached code as Zip File)
What is the Current behavior?
Taking long time to enter the text for a specific page elements(pls check the video, it is happening with few fields only)
What is the Expected behavior?
It should enter the text right away
What is your web application and your TestCafe test code?

Your website URL (or attach your complete example):
Your complete configuration file (if any):
Your complete test report:
Screenshots:

Steps to Reproduce:
- Go to my website xeniapp.com
- Book a hotel/Car
- Go to the checkout page
- Enter the details in the text fields
- It is observed that for test cafe, it is taking more time to enter the text
Your Environment details:
- testcafe version: 1.16.0
- node.js version: v 14.17.4
- command-line arguments:
- browser name and version: Chrome 94.0.4606.81
- platform and version: Windows 10
- other:
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 1
- Comments: 27 (9 by maintainers)
Thank you for the code samples. With some code modifications I was able to run the second sample and reproduced the issue. It may take additional time to determine cause of this issue. We will update this thread once we have any news.
I tried to reproduce this issue but failed. Could you share the CSS styles of all the elements located in the form-field_control div and the styles of the div itself?
Hi @Vooha-QualiTlabs,
I just tried to investigate this issue further, however, I noticed that you changed your application. I no longer have access to the problematic page. Would you please share more details about your application? For example, let us know if you are using some client-side library or framework (e.g. React, Angular, Vue). If so, please share the source code of these editor components. Also, please open the problematic page with DevTools (F12) and copy the resulting markup block with your editors and share it with us. I look forward to your reply.
Hi again! This behavior is unexpected. This issue seems to be related to the fact that your editors have two labels, one of which is invisible. Please try to remove the invisible label and reproduce the issue again.
Also, as a workaround, you can specify a timeout for the selectors of these editors:
I look forward to your results.
have same problem, dont know how to debug it to find out why is the “typeText” is so slow. Same effect with flashes as by @Vooha-QualiTlabs
I tried to access your app from Armenia. Also, it would be great if you share a simplified version of the web page you are testing. In this case, I will be able to reproduce the issue locally and determine its exact cause.
Hi @Vooha-QualiTlabs !
I have tried to reproduce the issue again, but the URL domain you shared above is no longer available. Also, according to the following issue, you now have a custom mechanism that does not allow you to run tests without some code modifications: 6803. Could you please update the code sample and share instructions on how to reproduce the issue so that I can reproduce and research it in detail?
Hi @Vooha-QualiTlabs
We still don’t have any updates. Once we get any results, we will post them in this thread.
No updates yet. Once we get any results, we will post them in this thread.