Initial Commit

This commit is contained in:
2026-05-27 23:47:53 +01:00
parent fbc70f96e6
commit 9b28db724f
18103 changed files with 1600554 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
import { devices } from "@playwright/test";
import { createPlaywrightConfig } from "@suaveplan/testing-e2e/config";
export default createPlaywrightConfig({
testDir: "./e2e",
testMatch: /\.spec\.ts$/,
timeout: 30_000,
expect: { timeout: 5_000 },
reporter: process.env["CI"] ? [["list"], ["html", { open: "never" }]] : [["list"]],
projects: [
{
name: "chromium",
use: { ...devices["Desktop Chrome"] },
},
],
webServer: {
command: "bunx vite --config e2e/test-app/vite.config.ts",
url: "http://127.0.0.1:5273/",
reuseExistingServer: !process.env["CI"],
timeout: 120_000,
stdout: "pipe",
stderr: "pipe",
},
use: {
baseURL: "http://127.0.0.1:5273",
},
});