refactor(test): migrate e2e to Playwright and remove duplicate unit tests
Switch extractor-workflow e2e test from vitest to Playwright test runner for consistency with playwright.config.ts. Remove redundant unit tests (cleaner, erp-auth, extractor) that have been superseded by more thorough replacements under tests/unit/services/erp/. Enable test isolation unconditionally to prevent cross-file state pollution. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -11,8 +11,7 @@ export default defineConfig({
|
||||
env: {
|
||||
NODE_ENV: 'test'
|
||||
},
|
||||
// CI 环境启用隔离以捕获跨文件状态污染;本地开发禁用以提升速度
|
||||
isolate: !!process.env.CI,
|
||||
isolate: true,
|
||||
pool: 'threads', // 使用线程池
|
||||
maxWorkers: 4,
|
||||
bail: process.env.CI ? 1 : undefined,
|
||||
|
||||
Reference in New Issue
Block a user