Files
bytedance--flowgram.ai/e2e/fixed-layout/playwright.config.ts
T
wehub-resource-sync 0232b4e2bb
CI / build (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:09:51 +08:00

24 lines
534 B
TypeScript

/**
* Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
* SPDX-License-Identifier: MIT
*/
import { defineConfig } from '@playwright/test';
export default defineConfig({
testDir: './tests',
timeout: 60 * 1000,
retries: 1,
use: {
baseURL: 'http://localhost:3000',
headless: true,
actionTimeout: 10 * 1000, // timeout for waitFor/click...
},
webServer: {
command: 'rush dev:demo-fixed-layout',
port: 3000,
timeout: 120 * 1000,
reuseExistingServer: !process.env.GITHUB_ACTIONS,
},
});