Files
MyNote/apps/desktop/playwright.config.ts

14 lines
400 B
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import { defineConfig } from '@playwright/test';
// Electron E2E:测试在 tests/e2e 内用 _electron.launch 启动 built main(dist-electron/main/index.js)
export default defineConfig({
testDir: './tests/e2e',
timeout: 60_000,
expect: { timeout: 15_000 },
fullyParallel: false,
workers: 1,
retries: 0,
reportDir: './tests/e2e/.report',
use: { trace: 'retain-on-failure' },
});