codeceptjs / codeceptjs/CodeceptJS
Self healing AI capability doesn't work in parallel mode
- Dominant language
- JavaScript
- Stars
- 4.2k
- Forks
- 757
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 16
Description
#### What are you trying to achieve?
We would like to use self healing AI capability https://codecept.io/ai/#self-healing-tests on CI
#### What do you get instead?
Self-healing capability works only for single test execution run --ai
```bash
npx codeceptjs run --ai --grep @T6f98b591 --config=./codeceptjs/codecept.conf.common.js
```

but doesn't work with parallel execution using workers
```bash
npx codeceptjs run-workers 2 --ai --grep @T6f98b591 --config=./codeceptjs/codecept.conf.common.js
```
no generation of the self-healing report for this command
### Details
* CodeceptJS version: 3.6.5
* NodeJS Version: 20.16.0
* Operating System: MacOS
* playwright: 1.38.1
Contributor guide
Assessment
This issue has not been assessed yet.