Run npx nightwatch --tags "@myTest" -> tests should run not in parallel
Run npx nightwatch --tags "@myTest" --parallel 2 -> tests should run in parallel. But I see the error: VError: Unexpected error on worker.receiveMessage: a BeforeAll hook errored on worker 0, process exiting: config\helpers\hooks\hooks.js:5: Cannot set property 'driverRestarted' of undefined
š What did you see?
I'm able to run my tests without the --parallel 2 option But when I add the --parallel 2 option, I see the error related to the global.config object
ā What did you expect to see?
I'm able to run my tests with the --parallel 2 option
š¦ Which tool/library version are you using?
Command to run: npx nightwatch --tags "@myTest" --parallel 2 Nightwatch.js Version: 3.1.2 Node Version: 14.21.3
š¬ How could we reproduce it?
I think you can easily reproduce it using https://github.com/kreuka/nightwatch.js-issue
Steps to reproduce
Opened the same issue for nightwatch.js repo: https://github.com/nightwatchjs/nightwatch/issues/3861