Reputation: 3
I cannot put my code here due to company policies. But I'll post the entire error and the steps I followed here.
{ type: 'uncaughtErrorOnPage',
isTestCafeError: true,
callsite:
CallsiteRecord {
filename:
'path to file name',
lineNum: 29,
callsiteFrameIdx: 6,
stackFrames:
[ [CallSite],
[CallSite],
[CallSite],
[CallSite],
[CallSite],
[CallSite],
[CallSite],
[CallSite] ],
isV8Frames: true },
errStack:
'Call resulted in redirect and therefore should not cause other actions.:\n No stack trace available',
pageDestUrl: 'https://www.sample.com',
isRejectedDriverTask: true }
I gave the url to launch in testcafe as shown here: **fixt.page('https://www.launchtheurl.com');**
But when it launches it'll redirect to another page with URL https://www.sample.com
and there it'll enter login details and click on login button as well. And immediately the script will fail to throw the error mentioned above. I couldn't find any solution for this in any testcafe thread in DevExpress, so asking here.
If more information is required please let me know in comments so that I can provide whatever I can.
Upvotes: 0
Views: 400
Reputation: 2212
Unfortunately, this information is not sufficient to find the cause of the issue.
I suggest you turn on the --skip-js-errors
option.
If it does not help, you need to prepare a sample example to reproduce this issue. Feel free to open a new issue on the TestCafe repository using the bug template.
Upvotes: 1