docs: AGENTS.md の E2E 記述を実態(Playwright)に修正 - #6859
Conversation
AGENTS.md がテストフレームワークを「Codeception 5(E2E)」と記載していたが, 実際の E2E は e2e/ 配下の Playwright で, CI(e2e-test.yml)もこちらを実行している。 Codeception は codeception/ に残置されているもののジョブは無効化(if: false)され, CI では動作していない。技術スタック・ディレクトリ構成・テストコマンドを実態へ更新。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
📝 WalkthroughWalkthroughAGENTS.md のテスト案内を Playwright E2E 向けに更新し、 ChangesE2E テスト案内と規約の更新
Twig テンプレート規約の更新
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@AGENTS.md`:
- Line 100: Add the missing plugin-tests project to the documented list of
available test projects in AGENTS.md so it matches the projects defined in
e2e/playwright.config.ts. Update the section that currently lists front-tests
and admin-tests to include plugin-tests, keeping the spec-file-based filtering
guidance consistent with the rest of the instruction.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
playwright.config.ts は setup/plugin-tests/admin-tests/front-tests を定義しており, plugin-tests が記載漏れだったため追記。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
e2e/ 配下の Playwright E2E を扱う規約が正典に無かったため新設。 接頭辞=プロジェクト=認証状態の対応, POM(pages/models/helpers)と fixture の使い方, flaky 対策(固定待ち回避・セレクタ一意化・retry時cleanup), CI 構造(e2e-test.yml + plugin/throttling/deny 専用ワークフロー)を集約。 AGENTS.md のレイヤ別 Skill 一覧表に e2e 行を追加。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 4.4 #6859 +/- ##
==========================================
+ Coverage 74.82% 74.92% +0.09%
==========================================
Files 463 463
Lines 24029 24029
==========================================
+ Hits 17980 18004 +24
+ Misses 6049 6025 -24
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
…規約を追記 商品名・説明に </script> や " が混入すると XSS・JSON 破壊になるため、 JSON_HEX_TAG 等を付与する観点を「よくある間違い」に追加。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
概要
AGENTS.md(AI コーディングエージェント向けの正典)が、E2E テストフレームワークを 「Codeception 5(E2E)」 と記載していましたが、実態とズレていたため修正します。実態
e2e/配下の Playwright で実装されており、CI(.github/workflows/e2e-test.yml)もこちらをマトリクス実行している(1 spec ファイル = 1 シャード)。codeception/はリポジトリに残置されているものの、coverage.ymlの Codeception ジョブはif: false(Disabled until remote coverage collection is fixed) で無効化されており、CI では動作していない。正典が誤った情報を指していると、エージェントが Playwright E2E の存在に気づけず(または Codeception を前提に動いてしまう)ため修正します。
変更内容
e2e/(spec / Page Object / fixtures)を追記ドキュメントのみの変更で、コード・CI 設定への影響はありません。
🤖 Generated with Claude Code
Summary by CodeRabbit