ai-chatbot/playwright.helpers.config.ts

19 lines
435 B
TypeScript

import { defineConfig } from "@playwright/test";
export default defineConfig({
testDir: "./tests",
testMatch: [
/routes\/canvas-chat-helpers\.test\.ts/,
/routes\/canvas-agent-operations\.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,
},
});