Files
page-builder/playwright.config.ts
jaybe 86cf8f7712
CI / test (push) Failing after 6m6s
CI / pr_and_merge (push) Has been skipped
Playwright E2E CI 설정 및 새 블록 타입 테스트 추가
2025-11-19 00:52:15 +09:00

26 lines
503 B
TypeScript

import { defineConfig, devices } from "@playwright/test";
export default defineConfig({
testDir: "./tests/e2e",
timeout: 30_000,
expect: {
timeout: 5_000,
},
use: {
baseURL: "http://localhost:3000",
trace: "on-first-retry",
},
projects: [
{
name: "chromium",
use: { ...devices["Desktop Chrome"] },
},
],
webServer: {
command: "npm run dev",
url: "http://localhost:3000",
reuseExistingServer: !process.env.CI,
timeout: 120_000,
},
});