#4431·nightwatch

Issues when running parallel tests with Mocha runner

Author: garg3133Created Dec 27, 2025Updated Dec 27, 2025

Description of the bug/issue

Encountered the following issues when running tests in parallel using Mocha:

  • examples/basic/todoList.js test does not work on Mocha but works on the default runner:Image
  • No colours in output, even though they are present when running the tests sequentially.

Steps to reproduce

  • Create a new folder and run npm init nightwatch@latest to scaffold a new project with the Mocha runner (choose Javascript / Mocha option when asked).
  • Once the project is scaffolded, run npx nightwatch nightwatch/examples/basic --env chrome to run a few tests in parallel.

Nightwatch.js Version

3.13.0

Node Version

20

Browser

Chrome

Operating System

macOS

Additional Information

No response