继续同步界面测试契约
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
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 / 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 2/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
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 / 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 2/4 (pull_request) Has been cancelled
更新过程节点、资源路径和推理档按钮断言以匹配当前渲染结构。
This commit is contained in:
@@ -550,8 +550,8 @@ export function registerChatComposerControlTests() {
|
||||
// 以落盘后的回读值为准。
|
||||
await waitFor(() => {
|
||||
expect(
|
||||
(within(surface).getByLabelText('推理档') as HTMLSelectElement).value,
|
||||
).toBe('low');
|
||||
within(surface).getByRole('button', { name: '推理档' }).textContent,
|
||||
).toContain('低');
|
||||
});
|
||||
expect(stored).toBe('low');
|
||||
// 只影响后续回合:当前没有发出任何新一轮直接对话。
|
||||
|
||||
@@ -3815,7 +3815,9 @@ export function registerProjectCommandTests() {
|
||||
element.textContent?.trim() === 'game/index.html',
|
||||
),
|
||||
).not.toBeNull();
|
||||
expect(screen.getByText(/^assets\/uploads\/hero\.png$/)).not.toBeNull();
|
||||
expect(
|
||||
screen.getAllByText(/^assets\/uploads\/hero\.png$/).length,
|
||||
).toBeGreaterThan(0);
|
||||
expect(invoke).toHaveBeenCalledWith('list_local_project_files', {
|
||||
projectPath: '/tmp/authorized-game',
|
||||
});
|
||||
|
||||
@@ -145,7 +145,7 @@ export function registerToolCallGroupTests() {
|
||||
within(rows[0] as HTMLElement).getByText('npm run build'),
|
||||
).not.toBeNull();
|
||||
expect(
|
||||
within(rows[1] as HTMLElement).getByText('game/src/hero.ts'),
|
||||
within(rows[1] as HTMLElement).getAllByText('game/src/hero.ts')[0],
|
||||
).not.toBeNull();
|
||||
// 已结束回合里的 running 残留快照不能继续显示「执行中」。
|
||||
expect(within(rows[1] as HTMLElement).getByText('已执行')).not.toBeNull();
|
||||
|
||||
Reference in New Issue
Block a user