Files
suaveplan/packages/foundation/data/packer-browser/playwright.config.ts
2026-05-27 23:47:53 +01:00

27 lines
763 B
TypeScript

import { defineConfig, devices } from "@playwright/test";
/**
* Playwright config for the `@suaveplan/packer-browser` Service Worker
* interception E2E suite. The suite is intentionally minimal in Cluster A —
* one happy-path scenario covering SW registration + packed-URL interception.
* The broader multi-browser sweep lands in Cluster C alongside diagnostics.
*/
export default defineConfig({
testDir: "./tests/e2e",
fullyParallel: false,
forbidOnly: true,
retries: 0,
workers: 1,
reporter: [["list"]],
use: {
baseURL: "http://127.0.0.1:4173",
trace: "retain-on-failure",
},
projects: [
{
name: "chromium",
use: { ...devices["Desktop Chrome"] },
},
],
});