playwright-journey
Use when the user adds E2E tests, Playwright specs, or journey coverage.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when the user adds E2E tests, Playwright specs, or journey coverage.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when the user adds or modifies a Next.js API route under ui/src/app/api/.
Use when the user works on EHDS articles, DSP protocol, DCP credentials, ODRL policies, or the audit trail.
Use when the user works on the force-directed graph explorer, layer colours, persona views, or node filtering.
Use when the user works on authentication, Keycloak configuration, OIDC, roles, or JWT claims.
Use when the user adds nodes, relationships, constraints, or indexes to the Neo4j knowledge graph, or edits any *.cypher file.
Use when the user works on demo personas, localStorage persistence, or GitHub Pages static-export behaviour.
| name | playwright-journey |
| description | Use when the user adds E2E tests, Playwright specs, or journey coverage. |
Sources: .claude/rules/testing.md, ui/__tests__/e2e/journeys/helpers.ts,
ui/playwright.config.ts.
J range in ui/__tests__/e2e/journeys/
(ranges are reserved per area — see the Test ID table in .claude/rules/testing.md).loginAs(page, user, pass) for Keycloak flows,
setPersona(page, username) for static-mode tests, skipIfKeycloakDown() /
skipIfNeo4jDown(page) so specs self-skip instead of failing when backends
are absent (every existing spec does this).data-testid — never CSS class names.npx playwright test <spec> --project=chromium (CI runs chromium only;
--project=live targets the JAD stack at PLAYWRIGHT_BASE_URL=http://localhost:3003).Spec lists cleanly (--list), self-skips without its backend, and its J numbers
don't collide with an existing range.