Files
tyx_AI_xhs/playwright.wp4-07.config.ts
T
suyx 40ecf0414a
Dada P0-A isolated Windows CI / validate-and-package (push) Failing after 4m19s
test: establish WP4-07 visual performance red harness
2026-08-03 19:15:58 +08:00

27 lines
743 B
TypeScript

import { defineConfig } from "@playwright/test";
export default defineConfig({
forbidOnly: true,
fullyParallel: false,
outputDir: process.env.DADA_PLAYWRIGHT_OUTPUT_DIR ?? "test-results/wp4-07",
projects: [
{ name: "chrome", use: { channel: "chrome" } },
{ name: "edge", use: { channel: "msedge" } },
],
reporter: "line",
retries: 0,
testDir: "./tests/e2e",
testMatch: "wp4-07-visual-performance.spec.ts",
timeout: 360_000,
use: {
deviceScaleFactor: 1,
headless: true,
launchOptions: { args: ["--enable-precise-memory-info", "--force-device-scale-factor=1"] },
locale: "zh-CN",
timezoneId: "Asia/Shanghai",
trace: "on",
viewport: { height: 1080, width: 1920 },
},
workers: 1,
});