Help / Blue Codens
QA 自動化。自然言語の要件から Playwright E2E テストを自動生成し、Blue 側で実行 → 結果(video / trace / network log)を取得。失敗時は Red Codens にチェインして自動修正できます。
Blue Codens の基本単位は E2E test です。自然言語要件から生成し、Blue 側のサンドボックスブラウザで実行されます。
codens-mcp がインストール済み・ログイン済みダッシュボード(app.blue.codens.ai)から「New Project」を選択するか、MCP 経由で他プロダクトとまとめて登録:
await tools.codens_register_project_unified({
repo_full_name: "Corevice/your-repo",
products: ["blue"]
});project 内では複数の base URL(prod / staging / dev)を切り替えてテストを実行できます。
https://staging.your-app.example.com)を登録本番環境への破壊的テストは要注意。「sign up を試す」のような mutating テストは staging や X-E2E-Run-ID ヘッダ付き専用環境で実行することを推奨します(実装規約は internal e2e integration spec を参照)。
// 自然言語要件から生成
const t = await tools.blue_e2e_test({
action: "generate",
project_id: "...",
requirement: "Verify that a user can complete a checkout flow with an annual plan.",
language: "playwright"
});
// 実行
await tools.blue_e2e_test({ action: "run", e2e_test_id: t.id });
// 結果取得(pass/fail, video URL, trace URL, network log)
const result = await tools.blue_e2e_test({
action: "get_results",
e2e_test_id: t.id
});生成された Playwright スクリプトはダッシュボードから編集可能。次回以降は action: "run" だけで実行できます。
X-E2E-Run-ID ヘッダが自動付与される(mutating テストの区別に利用)