Files
Artista-Filmcamp/playwright.config.ts
T
Nick Szaunig 59bb5a38a3
Docker-Images bauen und veroeffentlichen / build-and-push (push) Failing after 1m32s
first commit
2026-09-27 06:06:56 +02:00

25 lines
822 B
TypeScript

import { defineConfig, devices } from "@playwright/test";
/**
* Sichtpruefung und Buchungsstrecke gegen eine laufende Instanz
* (pnpm build && pnpm start, Datenbank mit pnpm db:seed).
* Bildschirmfotos landen unter test-results/.
*/
export default defineConfig({
testDir: "./e2e",
fullyParallel: false,
workers: 1,
reporter: [["list"]],
use: {
baseURL: process.env.E2E_BASE_URL ?? "http://localhost:3000",
locale: "de-DE",
timezoneId: "Europe/Berlin",
trace: "retain-on-failure",
},
projects: [
{ name: "smartphone", use: { ...devices["Pixel 7"] } },
{ name: "tablet", use: { ...devices["Desktop Chrome"], viewport: { width: 820, height: 1180 }, hasTouch: true } },
{ name: "desktop", use: { ...devices["Desktop Chrome"], viewport: { width: 1440, height: 900 } } },
],
});