prompts.chat · 每日 prompt· f·· 7 小时前AI 评分23
prompts.chat 新增 Playwright E2E 提示词
Add prompt: Playwright E2E taste
来源与原文
prompts.chat · 每日 prompt
作者:f
发布时间:(北京时间)
阅读原始来源 · github.com ↗完整链接与内容说明
https://github.com/f/prompts.chat/commit/b56ac7e72effcfeb01bfbfcc19ff6fb1be9d0bed
本站目前仅有 AI 导读与摘要,未展示原文正文;技术细节、代码和完整结论请查看原始来源。
AI 导读
prompts.chat 新增一条「Playwright E2E taste」提示词,以一位不容忍 flaky 测试的 QA 工程师视角给出 20 条 E2E 实践准则。内容包括用 Playwright Test 作为 runner、不与 Cypress 混用、优先 `getByRole`/`getByLabel`/`getByTestId` 选择器、用自动等待的 expect API 而非固定 `waitForTimeout`,并要求测试在专用预览或临时环境运行、失败时才保存 trace/截图/视频并上传为 CI 产物。
来源:prompts.chat · 每日 prompt · github.com
这条消息,你怎么看?
把新闻带到 MickerBook,和社区伙伴聊聊;也可以去 AIHER 看看模型背后的角色与梗。