From 78afec77758f3c175f8e2b80e5be4327e13b4689 Mon Sep 17 00:00:00 2001 From: mesalogo Date: Mon, 5 Oct 2026 00:01:17 +0800 Subject: [PATCH] test: allow bounded activity paging equivalence checks on CI --- docs/development/release-preparation-0.15.11.md | 5 +++++ src/renderer/src/ActivityPanel.test.tsx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/development/release-preparation-0.15.11.md b/docs/development/release-preparation-0.15.11.md index f7eabf9b..70ef2672 100644 --- a/docs/development/release-preparation-0.15.11.md +++ b/docs/development/release-preparation-0.15.11.md @@ -86,3 +86,8 @@ App 旧测试仍假定回顾表单默认展开,改为点击“新回顾”后 查询为空;改为等待匹配按钮存在且可用,点击也使用同一就绪条件,并在脚本 异常中保留执行表达式和原始 cause。字节核对、同名保护、取消和旧图片保留 断言均保留;此为探针时序修正,不宣称修复产品导入故障。 + +`4e72aa04` 的 CI `37213768876`:导入及此前修正项通过,6039 通过、 +56 跳过,唯一失败为活动分页等价测试默认五秒超时。该测试四个种子、 +三种筛选分别渲染新旧组件共 24 次;仅将此项设为 15 秒,完整快照、 +分组、数量、标题、状态和清空计数对比不变。 diff --git a/src/renderer/src/ActivityPanel.test.tsx b/src/renderer/src/ActivityPanel.test.tsx index 0a8ff1d8..e3457883 100644 --- a/src/renderer/src/ActivityPanel.test.tsx +++ b/src/renderer/src/ActivityPanel.test.tsx @@ -1056,7 +1056,7 @@ describe('ActivityPanel paged by Main', () => { after.unmount() } } - }) + }, 15_000) it('loads the next page behind "load more" and switches filters through the callbacks', () => { const records = Array.from({ length: 500 }, (_, index) => makeRecord(index))