codeceptjs / codeceptjs/CodeceptJS

Add or more prominently link to documentation for `step.retry()`

Đang mở
#4,958 10 bình luận 2 reaction 0 người được giao 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ả

During normal usage of `codeceptjs@3.7.2` I see the following repeated warning:

```
I.retry() is deprecated, use step.retry() instead
```

This comes from [here](https://github.com/codeceptjs/CodeceptJS/blob/df7e0beac13fa59167162034adf3859fdb7be335/lib/actor.js#L61), naturally.

Unfortunately I am unable to find any documentation of what `step.retry()` is or how to use it?

![Image](https://github.com/user-attachments/assets/b032ff98-b1bd-4916-a28e-5d0571406937)

and

![Image](https://github.com/user-attachments/assets/48c6ff0e-edfa-4a5b-8de8-691f37852cb1)

The [documentation for retrying](https://codecept.io/basics/#retries) still uses `I.retry()` throughout:

![Image](https://github.com/user-attachments/assets/724fc1af-096c-4e60-ba76-37321b504d53)

Could you please add documentation for `step.retry()`, or if the documentation exists, could you please make it easier to find.

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.