import { defineConfig } from "@playwright/test"; // To run master agent sanity tests, we want our typescript // transformer to be used while compiling the tests. // Hence, we bypass Playwright's default TS compiler, and have // it run compiled test files from /dist/ export default defineConfig({ testDir: "./dist/.", testMatch: "**/*.spec.js", // Setting large timeout as master agent takes time to run. timeout: 300_000, fullyParallel: true, workers: "50%", use: { launchOptions: { args: [ "--disable-web-security", "--disable-site-isolation-trials", "--disable-features=IsolateOrigins,site-per-process", ], }, bypassCSP: true, }, });