codeceptjs / codeceptjs/CodeceptJS

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

Offen
#4,958 10 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
stale
Vorherrschende Sprache
JavaScript
Sterne
4.2k
Forks
757
Ø Merge
2 T. 9 Std.
Gemergte PRs (30 T.)
16

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.