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.
Add cases under tests/visual/. Reuse waits in
home-helpers.ts. Wait for catalog
readiness via __LPC_waitCatalogAllReady (installed in
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. Walkthrough:
Visual regression tests.
CLS measurement is cls / CLS.md; Argos
does not replace profile:cls.