Files
EpicNext-Cms/e2e/ui
openhands fb470123c3
CI / check (push) Successful in 30s
CI / tests-integration (push) Successful in 1m58s
CI / tests-imaging-browsers (push) Successful in 2m2s
CI / tests-unit (push) Successful in 2m9s
CI / tests-quality (push) Successful in 1m2s
CI / tests-ui (push) Successful in 4m50s
CI / preflight (push) Skipped
CI / deploy (push) Failing after 1m42s
test(ui): stabilize cross-browser suite
- Run visual snapshots on Chromium only; Firefox/WebKit rendering does
  not match Chromium pixel output. Functional and accessibility
  assertions still run on all four projects (baselines were renamed to
  the new project names in the previous commit).
- Poll axe audits until clean: WebKit can report stale color-contrast
  violations for a moment after interactions while styles settle.
- Poll the Tab-focus assertion: Firefox can swallow a Tab while the
  sandboxed srcdoc preview frame is still loading.
- Fix the recovery clock race: install the fake clock before navigation
  at a fixed time and pause at a fixed target instead of wall-clock
  values, which under load could already be in the fake clock's past
  ('Cannot fast-forward to the past').
2026-10-17 17:14:13 +02:00
..

Isolated UI regression checks

Run pnpm test:ui after pnpm install --frozen-lockfile and pnpm exec playwright install chromium. The fixture server bundles real CMS components with local HTTP/server-action fixtures. It does not use the database or production credentials. Production smoke tests remain in the separate pnpm test:e2e command.

The suite covers accessible settings switches, news editor/preview, support-table filters, import history, attachment recovery and news/event recovery. Axe checks WCAG A/AA rules. The sandboxed preview cannot execute Axe; its accessible name and keyboard exit are checked separately. Automated checks do not replace a full accessibility audit.

Visual references are committed under __screenshots__/<platform>/<viewport>. Normal runs compare references and must not update them. For an intentional UI change, use pnpm test:ui:update, inspect every changed PNG and commit only accepted references. Keep the Playwright browser version aligned with the lockfile. Linux references must be captured on the Linux runner; Windows references are not interchangeable.

Fixtures contain synthetic data only. Do not add production requests, environment secrets, ignored local documents or database access to tests. CI retains test reports and failures as the ui-results artifact.