ai-chatbot/playwright.helpers.config.ts
2026-05-27 12:21:09 +08:00

16 lines
375 B
TypeScript

import { defineConfig } from "@playwright/test";
export default defineConfig({
testDir: "./tests",
testMatch: /routes\/canvas-chat-helpers\.test\.ts/,
fullyParallel: true,
forbidOnly: !!process.env.CI,
retries: 0,
workers: process.env.CI ? 2 : 4,
reporter: process.env.CI ? "github" : "list",
timeout: 60 * 1000,
expect: {
timeout: 10 * 1000,
},
});