Files
BIPMaterialManager/playwright.config.ts
Misaka_Company 255fd7e00b feat: add report analysis and visualization feature
- Add recharts library for data visualization
- Implement ReportAnalyzer service to parse report data
- Add report analysis IPC handler with Admin permission check
- Add ReportAnalysisDialog component with charts
- Add unit and E2E tests for report analyzer
- Update Playwright config to exclude vitest-specific test files
- Expand vitest config to include source code tests

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-26 08:57:37 +08:00

25 lines
529 B
TypeScript

import { defineConfig } from '@playwright/test'
export default defineConfig({
testDir: './tests/e2e',
timeout: 120000,
fullyParallel: false,
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 2 : 0,
workers: 1,
reporter: 'html',
use: {
trace: 'on-first-retry',
screenshot: 'only-on-failure'
},
// Test configuration for Electron
projects: [
{
name: 'electron',
testMatch: '**/*.test.ts',
testIgnore: '**/extractor-workflow.test.ts' // This file uses vitest
}
]
})