qa-storybook
[Testing] Storybook visual regression: baselines, responsive breakpoints, state variations, Atomic Design.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
[Testing] Storybook visual regression: baselines, responsive breakpoints, state variations, Atomic Design.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Initialize / onboard this agentic-QA plugin onto a deployment. Installs deps, then asks the operator only what genuinely shapes the config — the environment NAME, the bug tracker (Jira / Azure Boards), the code host (GitHub / Azure Repos), and an auth preference per axis (PAT recommended, else browser/CLI login). Everything else — whether it is a native-platform or a CLIENT project, the client org, the contribution mode, the fork account — is DERIVED from the token + the filled env + a live module/repo scan. Writes project-profile.json + .env.<env> + .env.local + .mcp.json and verifies access. The whole point is to make /qa-fix route each bug to the RIGHT repo (client custom code vs native platform) and file to the RIGHT tracker. Use when standing the plugin up on a new machine or for a new customer.
Initialize / onboard this agentic-QA plugin onto a deployment. Installs deps, then asks the operator only what genuinely shapes the config — the environment NAME, the bug tracker (Jira / Azure Boards), the code host (GitHub / Azure Repos), and an auth preference per axis (PAT recommended, else browser/CLI login). Everything else — whether it is a native-platform or a CLIENT project, the client org, the contribution mode, the fork account — is DERIVED from the token + the filled env + a live module/repo scan. Writes project-profile.json + .env.<env> + .env.local + .mcp.json and verifies access. The whole point is to make /qa-fix route each bug to the RIGHT repo (client custom code vs native platform) and file to the RIGHT tracker. Use when standing the plugin up on a new machine or for a new customer.
[QA Methodology] Gather ALL fresh CI prerelease artifacts for a change (modules + platform + vc-frontend) and deploy them together to the test env (vc-deploy-dev@<TEST_ENV branch>) in ONE manifest update: resolve a tracker ticket's linked PRs across all repos (or an explicit --module/--platform/--theme/--pr set) → each PR's latest vc3prerelease build → minimal-diff repin of backend/packages.json (AzureBlob/BlobName + PlatformVersion) and theme/artifact.json → dry-run combined diff (default) or a gated deploy PR (direct same-repo when the account has write, else a fork PR) → --verify polls the env-branch pin + /api/platform/modules per target. Never merges (a human merges to deploy); writes route through gh's keyring token; prints the web-edit URL when it can't push. Unblocks /qa-test PR#N and /qa-verify-fix.
[QA Method] Triangulate each BL invariant against docs + live + source code, auto-apply confirmed changes to business-logic.md, and reconcile test-case coverage. Delegates the live axis to qa-testing-expert; runs the triangulation via ba-system-analyzer.
Bring up a local Virto Commerce stack (backend + storefront + DB + ES) via start-local, pinned to the ACTUAL deployed package manifest (vc-deploy-dev @ vcptcore-demo); optionally augment it with the module/PR versions a JIRA task needs. Use when asked to spin up / run / provision a local VC environment, reproduce a deployed env locally, or stand up an env to test a specific ticket.
[QA Method] Defect management lifecycle: JIRA Bug Workflow, triage, classification, report validation, verification protocol, defect metrics.
| name | qa-storybook |
| description | [Testing] Storybook visual regression: baselines, responsive breakpoints, state variations, Atomic Design. |
| argument-hint | component name | atoms | molecules | organisms | all |
Test Storybook components for visual regression, responsive behavior, and state completeness. Delegates to ui-ux-expert agent with Chrome DevTools MCP.
/qa-storybook Button # Test a specific component
/qa-storybook atoms # Test all atom-tier components
/qa-storybook molecules # Test all molecule-tier components
/qa-storybook organisms # Test all organism-tier components
/qa-storybook all # Full visual regression run
storybook/test, @storybook/addon-vitest, a11y addon, Chromatic), determinism rules, CI gating, hosted-vs-dev caveat, boundary with /qa-accessibility. Read first.storybook/test (expect, userEvent, fn, step); when play is the wrong tool.Resolve Storybook URL from environment: STORYBOOK_URL (QA) or STORYBOOK_DEV_URL (dev)
Identify target components:
Delegate to ui-ux-expert via Task tool (subagent_type: ui-ux-expert):
For each component, test:
Output:
reports/tickets/SprintXX-XX/VCST-XXXX/screenshots/){story-name}-{viewport}.pngstorybook/ directory neededimport.meta.env.DEV === false. Don't verify DEV-only warnings here (see tooling-stack.md)./qa-accessibility/qa-storybook — a11y addon inside stories (component-isolated, axe rules per component)./qa-accessibility — full-page audits on storefront/admin (keyboard journeys, landmarks, page-level contrast)./qa-accessibility.axeRunSnippet() + classifyAxeResults() from scripts/lib/axe-runner.ts so severity mapping and the "axe-unavailable ⇒ inconclusive, not clean" rule stay identical to /qa-accessibility. Visual pixel-diff stays with Chromatic / Playwright toHaveScreenshot() (the agent owns the "intentional change?" verdict); there is no JS-snippet differ.