Browser Qa

affaan-m/ECC/skills/browser-qa

作者 affaan-mef648e01899ba3e8dc6371642deaaf64b4477775無授權條款275K 個星標收錄於 2026年10月9日更新於 2026年10月9日儲存庫4 天前更新

Run automated post-deploy UI verification with a browser automation MCP (claude-in-chrome, Playwright, or Puppeteer): console-error and Core Web Vitals smoke checks, form and auth-flow interaction tests, screenshot visual regression across three breakpoints, and axe-core accessibility audits ending in a SHIP / DO-NOT-SHIP verdict. Use when testing a deployed feature on staging or preview, before shipping frontend changes, reviewing a frontend PR, or checking responsive layout and accessibility.

AI 產生的概覽

執行部署後的瀏覽器品質檢查:冒煙測試、互動測試、視覺回歸與無障礙稽核,並給出是否可發布的結論。

功能
引導代理對已部署頁面進行四個階段的瀏覽器品質驗證:冒煙測試檢查主控台錯誤、失敗請求與 Core Web Vitals;互動測試檢查導覽連結、表單與登入流程;視覺回歸在三種斷點下截圖並與已提交的基準比對;以及以 axe-core 進行的 WCAG 2.2 AA 無障礙檢查。最後產出結構化的 Markdown 品檢報告,依階段列出問題,並給出 SHIP、SHIP WITH FIXES、DO NOT SHIP 的結論,缺少視覺基準時則為 INCONCLUSIVE。預設只執行唯讀流程,任何會修改資料的流程都需要預備環境網址與測試憑證。
適用情境
適用於功能部署到預備或預覽環境之後、前端變更發布之前,或審查涉及前端的合併請求時。也適合響應式版面檢查與線上頁面的無障礙稽核。
執行需求
需要瀏覽器自動化 MCP,例如 claude-in-chrome、Playwright(例如透過 Browserbase)或 Puppeteer,並能連線目標網址。會修改資料的流程需要明確同意、預備或預覽網址以及預先建立的測試憑證。不含指令碼,僅為操作說明。

Browser QA — Automated Visual Testing & Interaction

When to Use

  • After deploying a feature to staging/preview
  • When you need to verify UI behavior across pages
  • Before shipping — confirm layouts, forms, interactions actually work
  • When reviewing PRs that touch frontend code
  • Accessibility audits and responsive testing

How It Works

Uses the browser automation MCP (claude-in-chrome, Playwright, or Puppeteer) to interact with live pages like a real user.

Safety first — blast radius (run read-only by default)

Browser QA drives real auth and real user journeys, so treat the blast radius explicitly. Default to read-only: never run a mutating journey (checkout, payment, delete, mass-update) against a production URL — require an explicit opt-in and a staging/preview URL. Use seeded test credentials, never real production logins, and redact credentials/tokens/PII before saving any screenshot.

Phase 1: Smoke Test

1. Navigate to target URL2. Check for console errors (filter noise: analytics, third-party)3. Verify no 4xx/5xx in network requests4. Screenshot above-the-fold on desktop + mobile viewport5. Check Core Web Vitals: LCP < 2.5s, CLS < 0.1, INP < 200ms   (INP replaced FID in March 2024; thresholds per web.dev)

Phase 2: Interaction Test

1. Click every nav link — verify no dead links2. Submit forms with valid data — verify success state3. Submit forms with invalid data — verify error state4. Test auth flow: login → protected page → logout (test creds only, never prod)5. Test critical user journeys (checkout, onboarding, search)   — read-only by default; only exercise mutating journeys against staging     with explicit opt-in (see "Safety first" above)

Phase 3: Visual Regression

1. Screenshot key pages at 3 breakpoints (375px, 768px, 1440px)2. Compare against committed baseline screenshots   — no baseline ⇒ report INCONCLUSIVE, never a silent PASS3. Flag layout shifts > 5px, missing elements, overflow4. Check dark mode if applicable

Phase 4: Accessibility

1. Run axe-core or equivalent on each page2. Flag WCAG 2.2 AA violations (contrast, labels, focus order)3. Verify keyboard navigation works end-to-end4. Check screen reader landmarks

Note: axe-core automatically covers roughly 30–40% of WCAG. A clean run is necessary, not sufficient — keyboard nav, focus order, and a screen-reader pass still need a manual check. Don't report "accessible" from an automated pass alone.

Output Format

markdown
## QA Report — [URL] — [timestamp]
### Smoke Test- Console errors: 0 critical, 2 warnings (analytics noise)- Network: all 200/304, no failures- Core Web Vitals: LCP 1.2s ✓, CLS 0.02 ✓, INP 89ms ✓
### Interactions- [✓] Nav links: 12/12 working- [✗] Contact form: missing error state for invalid email- [✓] Auth flow: login/logout working
### Visual- [✗] Hero section overflows on 375px viewport- [✓] Dark mode: all pages consistent
### Accessibility- 2 AA violations: missing alt text on hero image, low contrast on footer links
### Verdict: SHIP WITH FIXES (2 issues, 0 blockers)# verdict ∈ SHIP / SHIP WITH FIXES / DO NOT SHIP; use INCONCLUSIVE if no visual baseline

Integration

Works with any browser MCP:

  • mChild__claude-in-chrome__* tools (preferred — uses your actual Chrome)
  • Playwright via mcp__browserbase__*
  • Direct Puppeteer scripts

Pair with /canary-watch for post-deploy monitoring.

來源與署名

來源:affaan-m/ECC位於skills/browser-qa提交ef648e0

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架