mirror of
https://github.com/musistudio/claude-code-router.git
synced 2026-07-09 17:18:24 +00:00
25 lines
508 B
TypeScript
25 lines
508 B
TypeScript
import { defineConfig, devices } from "@playwright/test";
|
|
|
|
export default defineConfig({
|
|
expect: {
|
|
timeout: 10_000
|
|
},
|
|
forbidOnly: !!process.env.CI,
|
|
fullyParallel: false,
|
|
projects: [
|
|
{
|
|
name: "chromium",
|
|
use: {
|
|
...devices["Desktop Chrome"]
|
|
}
|
|
}
|
|
],
|
|
reporter: process.env.CI ? [["list"], ["html", { open: "never" }]] : "list",
|
|
testDir: "./tests/e2e",
|
|
timeout: 30_000,
|
|
use: {
|
|
actionTimeout: 10_000,
|
|
trace: "retain-on-failure"
|
|
},
|
|
workers: 1
|
|
});
|