fix: 修复构建与测试中的多个问题

- 修复: Vue 版本降级至 3.4.21 以兼容 uni-app v3 alpha
- 修复: 稳定性测试改用绝对时间阈值,消除 flaky 退化率检测
- 修复: 配置 Vite 使用 sass-embedded 消除 Dart Sass 遗留 API 警告
- 修复: 启用 Playwright webServer 配置,支持自动启动开发服务器
- 清理: 移除未使用的 @dcloudio/uni-ui 依赖
- 新增: 添加 @dcloudio/uni-mp-weixin 平台依赖支持微信小程序构建
This commit is contained in:
2026-08-13 12:23:41 +08:00
parent 7d93c13b18
commit de11398720
5 changed files with 1082 additions and 499 deletions
@@ -35,11 +35,10 @@ export default defineConfig({
use: { ...devices['Desktop Safari'] },
},
],
// webServer disabled for manual dev server; CI uses separate start
// webServer: {
// command: 'npm run dev:h5',
// url: 'http://localhost:5173',
// reuseExistingServer: !process.env.CI,
// timeout: 120 * 1000,
// },
webServer: {
command: 'npm run dev:h5',
url: 'http://localhost:5173',
reuseExistingServer: !process.env.CI,
timeout: 120 * 1000,
},
})