Add end-to-end (e2e) tests
维护者通常 1 天内回复
已经有一个关联 PR 被合并了。
- #751 来自 @felixarntz —— 已合并
评估
调研方向
首先检查 WP-CLI 入口点现有的 e2e 测试,然后选择使用 Playwright 搭配 wp-env 或 Playground 的设置来处理管理后台 Ajax 流程。添加一个虚拟插件和一个 addon,并覆盖所有检查、仅运行时检查,以及来自具有已验证输出的 addon 的检查。
由索引模型根据 Issue 内容生成。
描述
We already have some e2e tests for the WP-CLI entry point, but not for the admin entry point. Having e2e coverage for the Ajax flow would increase confidence in our setup.
Should be simple to set up, with 1 dummy plugin for testing and 1 addon installed.
Can use Playwright and wp-env or maybe even Playground
Scenarios to test:
- Running all checks and their output
- Running only runtime checks
- Running checks from an add-on
- Maybe more?
- 主要语言
- PHP
- 星标
- 365
- 派生
- 129
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 22
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
WordPress/plugin-check 的其他 Issue
-
难度 5/5 一周以上 新手友好度 35/100
WordPress/plugin-check#1509 · 1 条评论 ·
维护者通常 1 天内回复
-
False positive: native auto_update_plugins option triggers update_modification_detected可能已有人在做 @KhushalSainS 于 4 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 68/100
WordPress/plugin-check#1506 ·
维护者通常 1 天内回复
-
Accept PolyFills可能已有人在做 @sanketio 于 10 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 45/100
WordPress/plugin-check#1496 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 48/100
WordPress/plugin-check#1475 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 55/100
WordPress/plugin-check#1474 · 2 条评论 ·
维护者通常 1 天内回复
查看 WordPress/plugin-check 的全部 Issue
相似的 Issue
-
Awaiting Triage
难度 1/5 1 小时以内 新手友好度 85/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 64/100
维护者通常 1 天内回复
-
reproduced
难度 2/5 1-3 小时 新手友好度 76/100
anomalyco/opencode#58664 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 87/100
WordPress/phpunit-test-runner#364 ·
维护者通常 4 天内回复
-
domain/framework Platform(Default) priority/high
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 2 天内回复