All Questions
Tagged with automated-tests testcafe
1,348
questions
0
votes
0
answers
35
views
Testcafe how to test dynamic url popup window that is dependat on previous tab still being opened
I am testing a payment checkout. The normal flow is that you press a button with a dynamic url (href="javascript;:"), a popup window opens up, you enter the payment details and accept, when ...
0
votes
1
answer
41
views
Does Testcafe have the capability to test Document PiP features?
Trying to create an automated test for a popup window (user clicks on a button then popup window opens) using testcafe however I keep getting errors saying I require user activation. I've gotten ...
0
votes
1
answer
83
views
testCafe --Unable to get the content of the exported file
Business scenario: Click the button to export the content of the table as an Excel file. I need to test whether the data in the table is equal to the content of Excel. It is enough to judge that the ...
0
votes
2
answers
440
views
ERROR TypeError: Cannot read properties of null (reading 'pendingTaskDonePromise')
I am using Jenkins to run some tests. We seem to get some errors after updating to the latest version of testcafe.
12:13:30 ERROR TypeError: Cannot read properties of null (reading '...
0
votes
1
answer
75
views
How to create a bookmark for a url and reopen the bookmark in chrome using TestCafe automation
I have a scenario where I need to bookmark my report url and then changed the user permission to not to allow to view the report. If the same user try to open the saved bookmark url he should not be ...
0
votes
1
answer
311
views
TestCafe works on node 14 but fails on node 18
We have a number of working TestCafe tests for our application, and they've been working very well (95-100% success). We've been on node 14 and are upgrading to node 18 because of node EOL support.
...
0
votes
0
answers
45
views
Testcafe- unable to launch long url with 4127 characters
We are sending a payload token in URL on redirect which is lengthy encrypted payload which is around 4127 characters and TestCafe is unable to process this url and seeing blank page
It works with ...
6
votes
1
answer
557
views
How do I prevent Testcafe interacts with the target element even if overlapped by another element?
Description:
The bug has been introduced preventing the customer to click on an element that he was would be supposed to click
How?
Steps explanation:
Here is what happens on our payment page ...
0
votes
0
answers
49
views
TestCafe Can't Find Tests, Sort Of
All of a sudden, my TestCafe setup can't find named tests. For example, if I run
testcafe chrome tests/myfolder/my-test.ts, it will not run as the test file cannot be found.
However, if I run ...
0
votes
1
answer
66
views
Testing Facebook Login using testcafe
I'm currently encountering an issue with the Facebook Login app while running e2e tests using TestCafe. The app has been properly configured, and regular logins work without any problems. However, ...
0
votes
1
answer
40
views
How can I get new reporter hook working in v2.6.0?
I am trying to add test duration and noticed onBeforeWrite was released in v2.6.0. I am using this version but when I try the code written in the docs, I don't see duration being printed. Am I missing ...
0
votes
0
answers
88
views
TestCafe E70 error when loading a PDF after save it
I am encountering an internal TestCafe error with code E70 while trying to download and process a PDF file in a TestCafe test within the GT:UI of Guidewire Testing Framework. The variables are ...
-1
votes
1
answer
44
views
What type of hook should be used if previous tests need to be executed before subsequent tests in testcafe?
The web application I am using has a static url which remains same for all the pages/modules inside it. Since testcafe closes the browser after each test execution, I have included all the selectors, ...
-2
votes
2
answers
226
views
What does pageRequestTimeout exactly mean?
pageRequestTimeout. Specifies time (in milliseconds) to wait for HTML pages. If TestCafe does not receive a page within the specified period, it throws an error.
This documentation is still not clear ...
0
votes
1
answer
121
views
TestCafe - Cannot switch to the window when running test in pipeline
I've encountered a problem when using TestCafe in Bitbucket Pipeline. It shows "Cannot switch to the window" when running test. Why does this happen and what does this mean? Thanks a lot.