flowgram.ai/e2e/fixed-layout/playwright.config.ts
chenjiawei.inizio 9aca28063e
chore: add e2e config (#280)
* chore: open ssg

* chore: add e2e base config case

* chore: sync screenshot

* chore: sync screenshot in linux

* chore: render layout
2025-05-27 06:52:20 +00:00

18 lines
372 B
TypeScript

import { defineConfig } from '@playwright/test';
export default defineConfig({
testDir: './tests',
timeout: 30 * 1000,
retries: 1,
use: {
baseURL: 'http://localhost:3000',
headless: true,
},
webServer: {
command: 'rush dev:demo-fixed-layout',
port: 3000,
timeout: 120 * 1000,
reuseExistingServer: !process.env.GITHUB_ACTIONS,
},
});