Summary
- Replace the 7 Cypress browser specs on canary (5 E2E specs plus an
example.cy.tsplaceholder and a screenshot spec, 27 tests) with Playwright frontend integration tests (154 tests,fe/playwright/frontend-integration/,npm run test:frontend-integration, CI jobfrontend-integration-tests), using centralized API stubs and shared fixtures against the existing Vite dev server. - Move the former Cypress full-stack coverage to .NET backend integration tests (
tests/Listenarr.BackendIntegrationTests/, 7 tests, CI jobbackend-integration-tests): the whole app runs in process with an isolated database and folders, and the tests drive its API only (seeded library, settings, metadata edits, deletion, repair, a tagged-file import scan with ffprobe). They are named integration rather than E2E because they don't drive the UI, and they need neither Docker nor a browser. - Add a browser E2E suite for Library Import (
fe/playwright/e2e/,npm run test:e2e, CI jobe2e-tests, runnerscripts/e2e/run.mjs). See below. - Collect test coverage on demand in every test job and report it merged in a last
coveragejob. Off by default, reported only, never gated. See below. - Leave a visual artifact on failure: frontend-integration tests save a screenshot (
screenshot: 'only-on-failure'); E2E tests keep their Playwright video andscripts/e2e/run.mjsconverts each retainedvideo.webminto a GIF next to it viascripts/e2e/webm-to-gif.mjs. Passing tests keep neither, and a missing/failed ffmpeg conversion warns rather than failing the run. - Remove Cypress configs, dependencies, scripts and CI steps; update project docs and generated API type paths. Add a dev container (
.devcontainer/) with .NET, Node.js, Docker and the Playwright browser dependencies. - Fix test migration issues around selection-store-backed checkboxes, request alias accumulation, scoped match assertions, and leave-confirmation navigation; the move ...
Automated Canary build