Suddenly TypeError: Invalid URL #8364
Labels
STATE: Need response
An issue that requires a response or attention from the team.
TYPE: bug
The described behavior is considered as wrong (bug).
What is your Scenario?
I cannot start a test with a test.page method anymore.
What is the Current behavior?
An error gets thrown with:
ERROR Cannot prepare tests due to the following error:
TypeError: Invalid URL
at Object.
What is the Expected behavior?
The test starts
What is the public URL of the test page? (attach your complete example)
does not apply
What is your TestCafe test code?
Your complete configuration file
Your complete test report
testcafe chrome 'test.js'
ERROR Cannot prepare tests due to the following error:
TypeError: Invalid URL
at Object. (C:\Users\arhess.gitlab\testcafe\testcafe-uzh-kwf\temp\test.js:3:24)
Type "testcafe -h" for help.
Screenshots
The
t.testRun.test.baseUrl
entry also seems to be corrupted.Steps to Reproduce
TestCafe version
3.7.1
Node.js version
v20.18.2
Command-line arguments
testcafe chrome test.js
Browser name(s) and version(s)
Chrome 132.0.6834.84
Platform(s) and version(s)
Windows
Other
This problem might have occurred with a node update. Before, everything worked fine.
The text was updated successfully, but these errors were encountered: