Files
amare/openspec/changes/archive/2026-08-10-remove-visual-regression/specs/quality-gates/spec.md

1.1 KiB

MODIFIED Requirements

Requirement: Browser tests run against FrankenPHP-served application

The system SHALL execute browser tests using Pest Browser/Playwright against an application served by FrankenPHP in CI. The browser job MUST cover the E2E journeys available in the current phase, the automated accessibility checks, motion behavior and smoke checks for public routes (SPEC §13.4, §13.7 and §14.1), without pixel comparison.

Scenario: Browser job validates served application

  • WHEN the browser CI job runs
  • THEN tests execute against the built application artifact or equivalent production-like image

Scenario: Browser job covers functional, accessibility and motion assertions

  • WHEN the browser CI job runs
  • THEN it MUST execute the functional browser, accessibility, motion and smoke suites
  • AND a failing functional assertion or a critical/serious accessibility issue MUST block merge

Scenario: Browser failures publish diagnostics

  • WHEN a browser test fails in CI
  • THEN the job MUST publish screenshots, application logs and browser logs as diagnostics