Common Web Visual Testing
ASecurityAssumption: a Before capture and the fixed build are available at the same header route. Verification: 1. **Before**: capture `playwright-cli snapshot --aria` and a screenshot at desktop, 375px mobile, and 768px tablet. 2. **After**: repeat the same captures on the fixed build. 3. Compare the dropdown border in each viewport: - Border is visible, continuous, and aligned with the dropdown. - No color, thickness, radius, clipping, or z-index regression. - No neighboring-element movement or layo...
- 584 stars
- 0 votes
- 0 copies
- 3 views
- Added September 5, 2026
Works with
Security analysis
100/100Pro scans all 9 files and shows the line behind each finding
npx -y skills add HoangNguyen0403/agent-skills-standard --skill common-web-visual-testing --agent claude-codeAre you the author of Common Web Visual Testing?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/hoangnguyen0403-common-web-visual-testing-cee96b9b)Assumption: a Before capture and the fixed build are available at the same header route.
Verification:
1. **Before**: capture `playwright-cli snapshot --aria` and a screenshot at desktop, 375px mobile, and 768px tablet.
2. **After**: repeat the same captures on the fixed build.
3. Compare the dropdown border in each viewport:
- Border is visible, continuous, and aligned with the dropdown.
- No color, thickness, radius, clipping, or z-index regression.
- No neighboring-element movement or layout shift (CLS), including loading state.
4. Test hover, keyboard focus, open/close behavior, and Tab order.
5. Recheck the `aria-snapshot` for unchanged trigger/menu semantics and verify color contrast.
6. Repeat in Chromium, Firefox, and WebKit; mask dynamic content with `--mask` or `opacity: 0`.
The fix passes only if the **After** screenshots show the corrected border at 375px, 768px, and desktop widths, with no visual diff or neighboring-element side effects beyond the intended border change.
Files in this skill
- eval-1.baseline.md
- eval-1.with-skill.md
- eval-2.baseline.md
- eval-2.with-skill.md
- trigger-1.md
- trigger-2.md
- trigger-3.md
- trigger-4.md
Attribution
Related skills
View all in development →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.