test: add E2E test for Extractor workflow using Playwright

- Create tests/e2e/extractor-workflow.test.ts with full workflow tests
- Add playwright.config.ts for E2E test configuration
- Add npm scripts: test:e2e, test:e2e:ui, test:e2e:report
- Update vitest.config.ts to exclude E2E tests
This commit is contained in:
Misaka
2026-03-01 15:53:03 +08:00
parent cb2a5a84b2
commit 484ca31d79
4 changed files with 149 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ export default defineConfig({
globals: true,
environment: 'node',
include: ['tests/**/*.{test,spec}.{ts,tsx}'],
exclude: ['node_modules', 'dist', 'out'],
exclude: ['node_modules', 'dist', 'out', 'tests/e2e'],
setupFiles: ['tests/setup.ts'],
coverage: {
provider: 'v8',