question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Typing text with testcafe is slow in our app for a particular page, dropdown actions in that page are executing fast

See original GitHub issue

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?

Screen Recording 10-14-2021 at 1 34 PM

https://user-images.githubusercontent.com/91185844/146340823-854082da-948b-4890-94dd-99bafcbcaae7.mp4

Your website URL (or attach your complete example):
Your complete test code (or attach your test files):
 

code.zip

Your complete configuration file (if any):

Your complete test report:

Screenshots: ![image](https://user-images.githubusercontent.com/91185844/137277605-9c964560-7ddb-4bad-a7a3-c750ab267c9b.png)

Steps to Reproduce:

  1. Go to my website xeniapp.com
  2. Book a hotel/Car
  3. Go to the checkout page
  4. Enter the details in the text fields
  5. 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:

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:27 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
Artem-Babichcommented, Apr 25, 2022

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.

1reaction
Artem-Babichcommented, May 5, 2022

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?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Typing text with testcafe is slow in our app for a particular ...
Typing text with testcafe is slow in our app for a particular page, dropdown actions in that page are executing fast · Ask...
Read more >
Speed Up Test Execution | Advanced Guides - TestCafe
Set Test Speed; Run Tests in Local Browsers; Mock Requests; Optimize Your Page Model; Enable Server-Side Caching. Run Tests Concurrently.
Read more >
How to Speed up Debugging in TestCafe: Tips and Tricks
To identify an issue visually, decrease the test speed. By default, tests are executed at full speed – with minimum delays between actions...
Read more >
.selectText() | TestController | Test API | API | Docs - TestCafe
The following example demonstrates text selection in an input element. import { ClientFunction, Selector } from 'testcafe'; fixture`TestController.selectText` .
Read more >
Best Practices | Basic Guides | Guides | Docs - TestCafe
E2E Test Scope; Smart Assertions; Use of Page Objects ... In your end-to-end tests, try to replicate real user actions. ... Write fewer...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found