e4dcfc49aa
Tests / Lint and Format (push) Waiting to run
Tests / Web Node Tests (push) Waiting to run
Tests / Import Check (Python 3.11) (push) Waiting to run
Tests / Import Check (Python 3.12) (push) Waiting to run
Tests / Import Check (Python 3.13) (push) Waiting to run
Tests / Import Check (Python 3.14) (push) Waiting to run
Tests / Python Tests (Python 3.11) (push) Blocked by required conditions
Tests / Python Tests (Python 3.12) (push) Blocked by required conditions
Tests / Python Tests (Python 3.13) (push) Blocked by required conditions
Tests / Python Tests (Python 3.14) (push) Blocked by required conditions
Tests / Test Summary (push) Blocked by required conditions
28 lines
671 B
TypeScript
28 lines
671 B
TypeScript
import { defineConfig, devices } from "@playwright/test";
|
|
|
|
const BASE_URL =
|
|
process.env.WEB_BASE_URL ||
|
|
process.env.NEXT_PUBLIC_API_BASE ||
|
|
"http://localhost:3000";
|
|
const SERIAL_MODE = process.env.PW_SERIAL === "1";
|
|
|
|
export default defineConfig({
|
|
testDir: "./tests",
|
|
fullyParallel: !SERIAL_MODE,
|
|
forbidOnly: !!process.env.CI,
|
|
retries: process.env.CI ? 2 : 0,
|
|
workers: SERIAL_MODE ? 1 : undefined,
|
|
reporter: [["html", { open: "never" }], ["list"]],
|
|
use: {
|
|
baseURL: BASE_URL,
|
|
trace: "on-first-retry",
|
|
},
|
|
projects: [
|
|
{
|
|
name: "ui-audit",
|
|
testMatch: "**/*.audit.ts",
|
|
use: { ...devices["Desktop Chrome"] },
|
|
},
|
|
],
|
|
});
|