You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: Cannot read property 'tests' of null
at LiveModeRunner._finishPreviousTestRuns (/Users/aahardy/dev/reactor-extension-alloy/node_modules/testcafe/src/live/test-runner.js:151:38)
at LiveModeRunner.runTests (/Users/aahardy/dev/reactor-extension-alloy/node_modules/testcafe/src/live/test-runner.js:36:21)
at /Users/aahardy/dev/reactor-extension-alloy/node_modules/testcafe/src/live/test-runner.js:113:30
Error: Cannot load a client script from preventSpecificErrorsFromFailingTests.js.
at ClientScript._loadFromPath (/Users/aahardy/dev/reactor-extension-alloy/node_modules/testcafe/src/custom-client-scripts/client-script.ts:64:19)
at ClientScript.load (/Users/aahardy/dev/reactor-extension-alloy/node_modules/testcafe/src/custom-client-scripts/client-script.ts:91:13)
at async Promise.all (index 0)
at Object.default_1 [as default] (/Users/aahardy/dev/reactor-extension-alloy/node_modules/testcafe/src/custom-client-scripts/load.ts:11:5)
at LiveModeBootstrapper.createRunnableConfiguration (/Users/aahardy/dev/reactor-extension-alloy/node_modules/testcafe/src/runner/bootstrapper.ts:419:37)
What is the Expected behavior?
A successful test run. Note that if I remove the .clientScripts("preventSpecificErrorsFromFailingTests.js") line, the test run completes just fine. Currently my preventSpecificErrorsFromFailingTests.js file contains no content, but it doesn't really matter what I put in that file.
What is your web application and your TestCafe test code?
Your website URL (or attach your complete example):Your complete test code (or attach your test files):
fixture`Getting Started`.page`http://devexpress.github.io/testcafe/example`;test("My first test",asynct=>{// Test code});
What is your Test Scenario?
My test scenario can be as simple as this:
But this issue isn't so much about my test scenario as it is configuring the testcafe runner with clientScripts. Here's my setup:
What is the Current behavior?
I receive the following error in the console:
What is the Expected behavior?
A successful test run. Note that if I remove the
.clientScripts("preventSpecificErrorsFromFailingTests.js")
line, the test run completes just fine. Currently mypreventSpecificErrorsFromFailingTests.js
file contains no content, but it doesn't really matter what I put in that file.What is your web application and your TestCafe test code?
Your website URL (or attach your complete example):
Your complete test code (or attach your test files):
Your complete configuration file (if any):
Your complete test report:
N/A
Screenshots:
N/ASteps to Reproduce:
client-scripts
branchnpm install
npm test
Your Environment details:
The text was updated successfully, but these errors were encountered: