codeceptjs / codeceptjs/CodeceptJS

Self healing AI capability doesn't work in parallel mode

未关闭
#4,526 1 条评论 0 个 reaction 已指派 1 人 已被 @DavertMik 认领 在 GitHub 查看
stale
主要语言
JavaScript
星标
4.2k
派生
757
平均合并
2 天 9 小时
30 天内合并 PR
16

描述

#### 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
```

![Screenshot 2024-10-25 at 12 13 50](https://github.com/user-attachments/assets/d7f6612a-cf0e-4c0e-b23d-accc553d70fc)

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。