codeceptjs / codeceptjs/CodeceptJS

Self healing AI capability doesn't work in parallel mode

Đang mở
#4,526 1 bình luận 0 reaction 1 người được giao Được @DavertMik nhận Xem trên GitHub
stale
Ngôn ngữ chính
JavaScript
Star
4.2k
Fork
757
Merge trung bình
2 ngày 9 giờ
Pull request đã merge (30 ngày)
16

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.