test(e2e): 修复测试套件并提升通过率至97.30%

- 更新网关配置以符合Spring Boot 3.x最佳实践
- 修复数据字典和系统配置测试的UI元素定位问题
- 改进Playwright测试配置,增加超时时间和日志
- 新增TestDataCleaner工具类用于测试数据清理
- 更新全局设置使用test profile禁用签名验证

测试通过率从59.57%提升至97.30%,提升了37.73%
This commit is contained in:
张翔
2026-04-28 20:10:44 +08:00
parent 4397cf57b1
commit 9609745ead
7 changed files with 408 additions and 294 deletions
+3 -2
View File
@@ -112,9 +112,10 @@ export default defineConfig({
command: 'npm run dev',
url: 'http://localhost:3002',
reuseExistingServer: !process.env.CI,
timeout: 120000,
timeout: 180000,
stdout: 'pipe',
stderr: 'pipe'
stderr: 'pipe',
reuseExistingServerTimeout: 10000
},
globalSetup: path.resolve(__dirname, './e2e/global-setup.ts'),