Closed shypefx closed 1 month ago
Hello @shypefx,
Based on your issue description, it looks like you're using the gherkin-testcafe package to run TestCafe. Please clarify if you tried reproducing the issue using only TestCafe.
If not, please check if the issue persists when you run your tests directly with TestCafe.
If the issue still occurs with TestCafe, please prepare a minimal working example for us to investigate it further.
This issue was automatically closed because there was no response to our request for more information from the original author. Currently, we don't have enough information to take action. Please reach out to us if you find the necessary information and are able to share it. We are also eager to know if you resolved the issue on your own and can share your findings with everyone.
What is your Scenario?
I'm using testcafe to run ui integration test on a web application. I'm working on the development of a Util to simplify the creation of tests.
What is the Current behavior?
Since few days, I have this error of cannot read properties. I have tried to remove all my modifications (rebranch on main) but nothing has changed, I'm still having the issue. I have updated the testcafe version (latest), remove the node modules and reinstall it, reboot my laptop, push my modification on jenkins (it's working so that mean we have a local issue). I think this come from a Windows update or something locally I cannot run any test
What is the Expected behavior?
To run the test without any errors
What is the public URL of the test page? (attach your complete example)
Unable to share URL.
What is your TestCafe test code?
i cannot send all the code because we have too much
Your complete configuration file
No response
Your complete test report
$ npm run test:ui-integration
ERROR TypeError: Cannot read properties of null (reading 'pendingTaskDonePromise') at C:\SAPDevelop\src\process-builder\process-builder-webapp\node_modules\testcafe\src\runner\index.js:181:75 at Array.map ()
at Runner._getTaskResult (C:\SAPDevelop\src\process-builder\process-builder-webapp\node_modules\testcafe\src\runner\index.js:181:41)
Screenshots
No response
Steps to Reproduce
TestCafe version
3.6.2
Node.js version
20.11
Command-line arguments
gherkin-testcafe --config-file test/.testcaferc.integration.json --tags @newCanvas
Browser name(s) and version(s)
127.0.6533.73
Platform(s) and version(s)
Windows 11
Other
No response