diff --git a/docs/development/release-preparation-0.15.10.md b/docs/development/release-preparation-0.15.10.md index 0051bb47..faa73dbf 100644 --- a/docs/development/release-preparation-0.15.10.md +++ b/docs/development/release-preparation-0.15.10.md @@ -76,3 +76,8 @@ Electron 布局测试更新为真实标题“模型与运行限制”,截图 保留保存值、再次打开恢复、布局及溢出断言。 1200 条活动历史测试会实际显示至 1000 行,专用超时从 30 秒改为 60 秒; 不减少数据、不移除分页、清空总数或离页裁剪断言,等待下一次 CI 验证。 + +`362fe50` 的 CI `37175597089`:上述三个测试均通过,5955 通过、59 跳过; +另一个工作区 KeepAlive 测试在默认一秒内未找到魔法笔记标题。 +仅将该轮换测试的异步标题等待设为五秒,保留聊天 DOM 身份、旧工作区淘汰 +及缓存数量断言。CI 观察命令曾出现 GitHub API EOF,最终失败以工作流结果为准。 diff --git a/src/renderer/src/App.test.tsx b/src/renderer/src/App.test.tsx index bcfe97f1..307b9a06 100644 --- a/src/renderer/src/App.test.tsx +++ b/src/renderer/src/App.test.tsx @@ -3310,7 +3310,7 @@ describe("App", () => { for (const label of ["魔法笔记", "知识库", "监督者", "运行记录"]) { fireEvent.click(await screen.findByRole("button", { name: label })); - await screen.findByRole("heading", { name: label }); + await screen.findByRole("heading", { name: label }, { timeout: 5_000 }); } expect(document.querySelector('[data-route="chat"]')).toBe(chatRoute);