mirror of
https://github.com/block/buzz.git
synced 2026-11-06 09:21:45 +00:00
Signed-off-by: Arjun Mahanti <arjun@squareup.com> Co-authored-by: Codex <noreply@openai.com>
21 lines
610 B
TypeScript
21 lines
610 B
TypeScript
import { defineConfig, devices } from "@playwright/test";
|
|
export default defineConfig({
|
|
testDir: "./tests",
|
|
fullyParallel: true,
|
|
workers: 2,
|
|
timeout: 30000,
|
|
reporter: [["list"], ["html", { open: "never" }]],
|
|
use: {
|
|
baseURL: "http://127.0.0.1:5189",
|
|
trace: "retain-on-failure",
|
|
screenshot: "only-on-failure",
|
|
},
|
|
projects: [{ name: "chromium", use: { ...devices["Desktop Chrome"] } }],
|
|
webServer: {
|
|
command: "pnpm exec vite preview --host 127.0.0.1 --port 5189 --strictPort",
|
|
url: "http://127.0.0.1:5189/design",
|
|
reuseExistingServer: false,
|
|
timeout: 30000,
|
|
},
|
|
});
|