Skip to main content

visual-test

Run or add Playwright visual specs and know when a layout or CSS change needs npm run test:visual. Use after first-paint, panel-layout, or PurgeCSS safelist changes, or when adding a Playwright case.

Informações da origem

Repositório
LiberatedPixelCup/Universal-LPC-Spritesheet-Character-Generator
Última atividade na origem
29 de agosto de 2026 às 11:48
Idioma detectado do SKILL.md
inglês
Estrelas
1.862
Forks
596

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
name
visual-test
description
Run or add Playwright visual specs and know when a layout or CSS change needs npm run test:visual. Use after first-paint, panel-layout, or PurgeCSS safelist changes, or when adding a Playwright case.
# Visual tests Run `npm run test:visual` after a change that affects first paint, panel layout, or a class in [`vite/purgecss-critical-safelist.ts`](../../../vite/purgecss-critical-safelist.ts). Add cases under [`tests/visual/`](../../../tests/visual/). Reuse waits in [`home-helpers.ts`](../../../tests/visual/home-helpers.ts). Wait for catalog readiness via `__LPC_waitCatalogAllReady` (installed in [`sources/install-item-metadata.ts`](../../../sources/install-item-metadata.ts)). Do not import visual specs from `tests/tests.js`. They are not Codecov-instrumented. Argos upload needs `ARGOS_TOKEN`. Isolated run: [run-one-spec](../run-one-spec/SKILL.md). Walkthrough: [Visual regression tests](../../../CONTRIBUTING.md#visual-regression-tests-playwright-argos). CLS measurement is [cls](../cls/SKILL.md) / [CLS.md](../../../CLS.md); Argos does not replace `profile:cls`.
Ver no GitHub