Przejdź do treści
Biblioteka skilli
Programowanie · Przegląd i audyt

visual-regression

/visual-regression

Sprawdza w przeglądzie CI i strategii testów, czy reguła regresji wizualnej jest faktycznie weryfikowana i nie tylko opisana.

Licencja
MIT
Ostatnia zmiana repozytorium
06.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
2
Przestarzałość

Brak sygnałów. Repozytorium zmienione 06.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Sprawdza w przeglądzie CI i strategii testów, czy reguła regresji wizualnej jest faktycznie weryfikowana i nie tylko opisana.

Oryginalny opis (EN)

Use when reviewing CI coverage, automated checks, or test strategy related to Use visual regression testing. Focus on whether the rule is continuously verified, not just documented.

Jak działa

  1. Quick Reference
  2. Check
  3. Fix
  4. Explain
  5. Code Review
Sekcje z nagłówków SKILL.md, w oryginale · 35 linii, 221 słów
Podgląd SKILL.md
---
name: visual-regression
description: "Use when reviewing CI coverage, automated checks, or test strategy related to Use visual regression testing. Focus on whether the rule is continuously verified, not just documented."
metadata:
  category: testing
  priority: medium
  difficulty: intermediate
  estimatedTime: "30"
  source: frontendchecklist.io
  url: https://frontendchecklist.io/rules/testing/visual-regression
---

# Use visual regression testing

Functional tests verify behavior but don't see your page. A CSS refactor might pass all unit and integration tests while completely breaking the layout — text overlapping images, buttons invisible, wrong colors. Visual regression testing acts as a safety net that reviews your actual rendered output, catching changes that no amount of JavaScript testing can detect.

## Quick Reference

- Visual regression tests catch CSS regressions that functional tests miss
- Run screenshot comparisons in CI to block merges that break visual appearance
- Use component-level (Storybook) tests for focused, fast visual coverage
- Set pixel difference thresholds to avoid flaky tests from sub-pixel rendering

## Check

Does this project have visual regression testing? What critical components or pages would benefit most from visual baselines?

## Fix

Set up visual regression tests for the key components using Playwright's screenshot comparison or a tool like Chromatic.

## Explain

Explain visual regression testing, how it differs from functional tests, and how to set up screenshot comparison in a CI pipeline.

## Code Review

Review tests, CI workflows, and enforcement points related to Use visual regression testing. Flag exact gaps where the rule is not automatically verified or where failures do not block regressions.

---

For full implementation details, code examples, and framework-specific guidance,
see `references/rule.md`.

Rule page: https://frontendchecklist.io/rules/testing/visual-regression
Pliki w paczce (2)
  • SKILL.md 2 KB
  • references/rule.md 4 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · thedaviddias/front-end-checklist100MIT
DnsQueen/orcinus-skills100MIT
aks-builds/quality-skills100MIT
alekspetrov/navigator95MIT
wrongstack/wrongstack90MIT

Migawka bazy z 13.11.2026 · wersja paczki 5f28b201cd38 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 2 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100unit-tests
    Sprawdza w przeglądzie CI, czy zasada pisania testów jednostkowych jest weryfikowana automatycznie, a nie tylko opisana.
  • 100e2e-testing
    Przegląda pokrycie CI, automatyczne kontrole i strategię testów pod kątem testów end-to-end, sprawdzając, czy reguła jest stale weryfikowana w CI.
  • 85testing
    Doradza w strategii testów i ich automatyzacji, w tym w testach wydajności, regresji i bezpieczeństwa oraz w Jest, Pytest, Playwright, Cypress i k6.
  • 100agent-e2e-test-specialist
    Wspiera testy E2E, automatyzację testów w przeglądarce i testy regresji wizualnej w Playwright, Cypress, Percy i Chromatic, gdy użytkownik wyraźnie o nie prosi.
  • 100test-commander
    Generuje testy jednostkowe, integracyjne, E2E i wizualnej regresji według Testing Trophy z Vitest, Jest, Testing Library, Playwright i MSW oraz fabrykami danych Faker.
  • 100ui-visual-regression
    Recenzuje, segreguje i waliduje różnice regresji wizualnej: analiza zmian snapshotów, dowody regresji układu, różnice Storybook, zrzuty Playwright i Argos.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.