인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
디자인 및 창작 · SKILL.md

common-web-visual-testing

common-web-visual-testing

Standardizes visual audits, responsive design, and behavioral testing for web apps. Use to verify a web UI fix or cross-browser behavior; defer backend API refactors, Playwright installation/tooling setup, and Appium/mobile automation.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: common-web-visual-testing description: Standardizes visual audits, responsive design, and behavioral testing for web apps. Use to verify a web UI fix or cross-browser behavior; defer backend API refactors, Playwright installation/tooling setup, and Appium/mobile automation. metadata: triggers: keywords: - web test - browser test - responsive audit - verify web ui - cross-browser check - web accessibility

🌐 Web Visual & Behavioral Testing

Priority: P1 (HIGH)

[!IMPORTANT] Tier 2 (Methodology): Strategy web UI/UX audit. Tier 3 (Domain): Responsive, A11y (WCAG), Browser Engine quirk.

🧪 Testing Mindset (Comparative Audit)

Visual test best as Comparative Audit loop:

  1. Baseline (Before): Capture snapshot --aria + screenshot prod/main.
  2. Implementation (After): Capture same local/feature.
  3. Audit: Compare state for regression, CLS, Aria drift.

Responses must label the two captures as Before and After (or Baseline and Fixed) and include the diff and neighboring-element side-effect check.

📋 Scenario Matrix

Change TypeScenarios to Run
CSS/LayoutResponsive Audit + Hover + CLS Check
Forms/InputValidation Msg + Focus State + Error Boundary
NavigationURL Sync + Sticky Header + Back-Button Persistence
Assets/FontsLazy Load + Icon Check + LCP Audit
AccessibilityTab Order + Aria-Snapshot + Color Contrast

🚫 Anti-Patterns

  • Single-Viewport: Never verify Desktop only. Check Mobile (375px) + Tablet (768px).
  • Ignore Layout Shift: Check loading state (skeleton) → no page jump.
  • Unmasked Dynamic: MUST mask timestamp/balance via --mask or JS (opacity: 0). Avoid "False Regression".
  • Blind Assertion: Use playwright-cli snapshot --aria (CLI) or browser_snapshot (Playwright MCP) verify state before done.

📁 Evidence

Before/After pairs live in .playwright-cli/<session>/ as <AC|step>-before.png / <AC|step>-after.png plus matching .aria.txt. Driver rung and dir go in the walkthrough driver: / evidence_dir: lines.

  • External Dependency: Mock/bypass 3rd-party (Chat, Analytics) → prevent flakiness.

🔗 References

저장한 Skills