Files
SnapOtter/playwright.editor.config.ts
T

24 lines
512 B
TypeScript

import { defineConfig, devices } from "@playwright/test";
export default defineConfig({
testDir: "./tests/e2e-editor",
timeout: 60_000,
expect: { timeout: 15_000 },
fullyParallel: false,
workers: 1,
retries: 0,
reporter: "html",
use: {
baseURL: "http://localhost:1351",
trace: "retain-on-failure",
screenshot: "only-on-failure",
viewport: { width: 1440, height: 900 },
},
projects: [
{
name: "chromium",
use: { ...devices["Desktop Chrome"] },
},
],
});