同步工具调用时间文案断言
Project CI / AI game creator shell Rust smoke (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 2/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust crates (pull_request) Has been cancelled
Project CI / Backend tests (pull_request) Has been cancelled
Project CI / Native shell tests (pull_request) Has been cancelled
Project CI / Frontend tests (pull_request) Has been cancelled
Project CI / Repository checks (pull_request) Has been cancelled
Project CI / AI game creator shell web tests (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 1/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 3/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 4/4 (pull_request) Has been cancelled

按当前时分秒格式更新回合工具时间测试。
This commit is contained in:
2026-09-16 06:41:31 +08:00
parent da74bf4817
commit c996b5c127
@@ -8442,7 +8442,7 @@ export function registerProjectSupervisorSurfaceTests() {
// 同一回合的用户消息时间(App 提交时写入)→ 显示「发送 → 结束」。
expect(
groupHead.querySelector('.agent-tool-call-group-time')?.textContent,
).toMatch(/^\d{2}:\d{2}\d{2}:\d{2}$/);
).toMatch(/^\d{2}:\d{2}:\d{2} → \d{2}:\d{2}:\d{2}$/);
// 实时回合的块落在消息流末尾:该回合 assistant 消息还没落盘,
// 所以它在上一条 assistant 消息之后,而不是被锚到别人头上。
const liveChildren = Array.from((messageList as HTMLElement).children);