mirror of
https://gitee.com/ByteDance/flowgram.ai.git
synced 2025-07-07 17:43:29 +08:00
* chore: open ssg * chore: add e2e base config case * chore: sync screenshot * chore: sync screenshot in linux * chore: render layout
18 lines
372 B
TypeScript
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,
|
|
},
|
|
});
|