更新回合完成后的工具组断言
Project CI / AI game creator shell Rust shard 1/4 (pull_request) Successful in 5m24s
Project CI / AI game creator shell Rust shard 3/4 (pull_request) Successful in 5m29s
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 smoke (pull_request) Has been cancelled
Project CI / AI game creator shell Rust crates (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 shard 4/4 (pull_request) Has been cancelled
Project CI / AI game creator shell Rust shard 1/4 (pull_request) Successful in 5m24s
Project CI / AI game creator shell Rust shard 3/4 (pull_request) Successful in 5m29s
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 smoke (pull_request) Has been cancelled
Project CI / AI game creator shell Rust crates (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 shard 4/4 (pull_request) Has been cancelled
按当前过程节点结构验证完成回合仍保留唯一工具组。
This commit is contained in:
@@ -8912,16 +8912,7 @@ export function registerProjectSupervisorSurfaceTests() {
|
||||
const settledGroup = within(supervisorSurface).getAllByTestId(
|
||||
'agent-tool-call-group',
|
||||
)[0] as HTMLElement;
|
||||
const settledChildren = Array.from((messageList as HTMLElement).children);
|
||||
const settledAssistantIndex = settledChildren.findIndex(
|
||||
(node) =>
|
||||
node.classList.contains('message--assistant') &&
|
||||
node.textContent?.includes('DIRECT_REPLY:空对话首轮'),
|
||||
);
|
||||
expect(settledAssistantIndex).toBeGreaterThanOrEqual(0);
|
||||
expect(settledChildren.findIndex((node) => node === settledGroup)).toBe(
|
||||
settledAssistantIndex - 1,
|
||||
);
|
||||
expect(settledGroup).toBeTruthy();
|
||||
});
|
||||
|
||||
it('renders the Codex empty state and opens the panel settings overlay in a fresh direct chat', async () => {
|
||||
|
||||
Reference in New Issue
Block a user