fix(ui): make chapter bridge manual-only and add release gate
Remove auto chapter-bridge prompt on book/chapter open so users trigger it from the cockpit. Fix AiPanel duplicate import that broke dev builds, and add release smoke tests plus test:release/test:ci scripts. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -76,8 +76,10 @@ npm run dev
|
||||
|
||||
```bash
|
||||
npm run build
|
||||
npm run test # 单元 / 集成测试
|
||||
npm run test:e2e # E2E 测试(需先 build)
|
||||
npm run test:release # 发布前快速门禁:build + 导入/产物检查 + 启动冒烟 E2E
|
||||
npm run test # 全量单元/集成(含 LM Studio 十章小说 IT,耗时长)
|
||||
npm run test:ci # 完整 CI:build + 全量 UT/IT + 全量 E2E
|
||||
npm run test:e2e # 仅 E2E(需先 build)
|
||||
```
|
||||
|
||||
**AI 相关测试前置条件**:本地 [LM Studio](http://127.0.0.1:1234) 需运行,模型默认 `gemma-4-e4b-it`(可通过环境变量 `BILIN_AI_MODEL` / `BILIN_AI_BASE_URL` 覆盖)。
|
||||
|
||||
Reference in New Issue
Block a user