mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
fix(test): resolve CI failures from the overhaul
- fixture-integrity: probe media via media-engine probeMedia (resolves the bundled static ffmpeg) instead of bare system ffprobe, which is ENOENT in CI; gate on ffmpegAvailable() like the other media tests - a11y: regenerate a11y-baseline.json to include the mobile device keys (the baseline only had desktop keys, so the mobile a11y scan saw them as new) - device-visual: tag @visual and exclude it from the PR mobile-smoke gate (darwin-only screenshots cannot pass on linux; nightly + update-visual-baselines still run it to seed linux goldens)
This commit is contained in:
@@ -13,7 +13,7 @@ import { expect, openSettings, test } from "./helpers";
|
||||
// ---------------------------------------------------------------------------
|
||||
// Mobile (Pixel 7 -- mobile-chromium)
|
||||
// ---------------------------------------------------------------------------
|
||||
test.describe("@mobile Device visual regression", () => {
|
||||
test.describe("@mobile @visual Device visual regression", () => {
|
||||
test("home page", async ({ loggedInPage: page }) => {
|
||||
await page.goto("/");
|
||||
await page.waitForLoadState("networkidle");
|
||||
@@ -49,7 +49,7 @@ test.describe("@mobile Device visual regression", () => {
|
||||
// ---------------------------------------------------------------------------
|
||||
// Tablet (Galaxy Tab S9 -- tablet-chromium)
|
||||
// ---------------------------------------------------------------------------
|
||||
test.describe("@tablet Device visual regression", () => {
|
||||
test.describe("@tablet @visual Device visual regression", () => {
|
||||
test("home page", async ({ loggedInPage: page }) => {
|
||||
await page.goto("/");
|
||||
await page.waitForLoadState("networkidle");
|
||||
|
||||
Reference in New Issue
Block a user