Unverified 提交 6194bd5d authored 作者: Will Chen's avatar Will Chen 提交者: GitHub

Add E2E debug logs and git workflow docs to AGENTS.md (#2279)

## Summary - Add instructions for enabling Playwright debug logs with `DEBUG=pw:browser` - Add Git workflow section documenting PR push conventions - Add skip-bugbot guidance for trivial PRs #skip-bugbot 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Update AGENTS.md to help debug E2E tests and clarify our PR push conventions. Adds DEBUG=pw:browser npm run e2e instructions and guidance to skip bugbot for trivial changes. <sup>Written for commit b4a62ab10eb37373580923133a7f0af6881585ed. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. --> Co-authored-by: 's avatarClaude Opus 4.5 <noreply@anthropic.com>
上级 560edd71
...@@ -75,6 +75,12 @@ If you would need to mock a lot of things to unit test a feature, prefer to writ ...@@ -75,6 +75,12 @@ If you would need to mock a lot of things to unit test a feature, prefer to writ
Do NOT write lots of e2e test cases for one feature. Each e2e test case adds a significant amount of overhead, so instead prefer just one or two E2E test cases that each have broad coverage of the feature in question. Do NOT write lots of e2e test cases for one feature. Each e2e test case adds a significant amount of overhead, so instead prefer just one or two E2E test cases that each have broad coverage of the feature in question.
To get additional debug logs when a test is failing, use:
```sh
DEBUG=pw:browser npm run e2e
```
## Git workflow ## Git workflow
When pushing changes and creating PRs: When pushing changes and creating PRs:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论