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

未关闭 适合新手
#4,958 10 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
78/100
Issue 类型
文档
描述清晰度
基本清楚
活跃度
活跃
技术栈
javascript
领域
documentation

调研方向

从 codecept.io/basics/#retries 的重试文档开始,并将其与 lib/actor.js 第 61 行附近的弃用警告源代码进行比较。记录 step.retry(),或通过替换过时的 I.retry() 用法让现有指南更容易找到,然后确认页面清楚地说明了受支持的 API。

由索引模型根据 Issue 内容生成。

描述

stale

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, naturally.

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

Image

and

Image

The documentation for retrying still uses I.retry() throughout:

Image

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

主要语言
JavaScript
星标
4.2k
派生
756
平均合并
2 天 9 小时
30 天内合并 PR
16

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

codeceptjs/CodeceptJS 的其他 Issue

查看 codeceptjs/CodeceptJS 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

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