Help / Blue Codens
QA automation. Generates Playwright E2E tests from natural-language requirements, runs them, and returns results (video / trace / network log). Failures can chain into Red Codens for an auto-fix.
Blue Codens' core unit is an E2E test. Generated from natural-language requirements and executed in Blue's sandboxed browser runners.
codens-mcp installed and logged in.From the dashboard (app.blue.codens.ai) → "New Project", or via MCP together with other products:
await tools.codens_register_project_unified({
repo_full_name: "Corevice/your-repo",
products: ["blue"]
});A project can hold multiple base URLs (prod / staging / dev) and switch between them per run.
https://staging.your-app.example.com).Be careful with destructive tests on production. Mutating flows like "sign up" should run against staging or a dedicated environment that accepts the X-E2E-Run-ID header for filtering.
// Generate from a natural-language requirement
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"
});
// Execute
await tools.blue_e2e_test({ action: "run", e2e_test_id: t.id });
// Fetch results (pass/fail, video URL, trace URL, network log)
const result = await tools.blue_e2e_test({
action: "get_results",
e2e_test_id: t.id
});The generated Playwright script is editable from the dashboard. Subsequent runs only need action: "run".
X-E2E-Run-ID header for traceability, useful for filtering mutating tests in your backend.