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
{{ message }}
Repository navigation
Custom parallel execution and BDD cause tests to be duplicated #5725
Running BDD tests from a custom parallel runner runs them twice. Not-BDD tests are properly run only once.
When tests are started with that setup, I receive the following warning on startup: [Worker 01] Duplicate test names detected - Feature + Scenario name should be unique:
The problem seems to be that BDD tests are added twice to mocha.suite.tests, as removing duplicates from there in _beforeSuite results in BDD tests being correctly run only once.
I created a project showcasing that behavior https://github.com/al-bre/codeceptjs-parallel-bdd . I expect 7 tests in total to be executed when running in parallel mode, but instead the result is OK | 12 passed // 10s
Activity
DenysKuchma commentedon Oct 14, 2026
Resolve here
#5721
Thank you for your issue