mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-10-13 04:59:51 +08:00
17 lines
519 B
TypeScript
17 lines
519 B
TypeScript
import { defineConfig } from "@playwright/test"
|
|||
|
|
|
||
|
|
// Browser tests of the built package (npm run build first): each spec
|
||
|
|
// starts the MCP server itself over stdio, so there is no web server here.
|
||
|
|
// Playwright comes from the repository root (npm ci there).
|
||
|
|
export default defineConfig({
|
||
|
|
testDir: "./tests/e2e",
|
||
|
|
timeout: 90_000,
|
||
|
|
forbidOnly: !!process.env.CI,
|
||
|
|
retries: process.env.CI ? 1 : 0,
|
||
|
|
reporter: "list",
|
||
|
|
use: {
|
||
|
|
browserName: "chromium",
|
||
|
|
trace: "retain-on-failure",
|
||
|
|
},
|
||
|
|
})
|