All Questions
311
questions
0
votes
1
answer
36
views
Cypress - Office365 Redirect causes the test to hang on 'Tests are loading'
I am writing a test where user goes to the Settings page of our application, then clicks on 'Connect Calendar'. This opens a new tab and user is on a Cronofy connection page, then I click on 'Office ...
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
441
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
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
560
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
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
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.
0
votes
1
answer
89
views
Is it possible in TestCafe to expect errors to be thrown?
With t.skipJsError() I can easily skip (specified) JS errors.
Is there also the possibility to expect, if a certain error has been thrown? That would mean, that if the error is not thrown, the test ...
0
votes
1
answer
156
views
Testcafe TypeText function not working with CKeditor
I have targeted the following element to enter text into the wysiwyg editor:
<div class="ck ck-content ck-editor__editable ck-rounded-corners ck-editor__editable_inline ck-blurred" lang=&...
0
votes
1
answer
34
views
Does TestCafe execute test steps, in 'test', asynchronously and not sequential?
I am working on an automation project and we follow that age old model of a test case being a list of test steps to validate a behavior in the application under test. Each test step exists in a class ...
0
votes
0
answers
133
views
POST multi-part/form-data with file for TestCafe t.request
I am trying to recreate a curl command in TestCafe using t.request(). I cannot figure out how to upload files as part of a multi-part PUT/POST request.
This is the basic curl command:
curl --request ...
0
votes
2
answers
331
views
CORS Errors TestCafe Mock After Upgrade
I recently upgraded TestCafe on a project from 1.8.6 to 2.4.0 and now our mocks are failing due to CORS errors, however, I'm not sure how to resolve them. For the "OPTIONS" request I get the ...
0
votes
0
answers
61
views
Need to show popup page in testcafe
My issue is I have a one web page with three button. If I click on new button one popup page should open. But in my case it's successfully hitting the new button but popup page is not visible. So ...