Files
core/tests/e2e/playwright.config.ts
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
518 B
TypeScript
Raw Normal View History

import { defineConfig, devices } from "@playwright/test";
const baseURL = process.env.BASE_URL ?? "http://localhost:8123";
export default defineConfig({
testDir: ".",
timeout: 30_000,
// Reruns a failed test once in CI to absorb transient startup flakiness.
retries: process.env.CI ? 1 : 0,
reporter: [["list"], ["html", { open: "never" }]],
use: {
baseURL,
trace: "retain-on-failure",
},
projects: [
{
name: "chromium",
use: { ...devices["Desktop Chrome"] },
},
],
});