同步对话界面测试选择器
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

更新推理档按钮断言并允许鉴权失败提示重复渲染。
This commit is contained in:
2026-09-16 06:27:34 +08:00
parent aa0b180044
commit e119f3a2b1
2 changed files with 3 additions and 3 deletions
@@ -529,7 +529,7 @@ export function registerChatComposerControlTests() {
const select = within(surface).getByRole('button', { name: '推理档' });
await waitFor(() => {
expect(select.textContent).toContain('默认');
expect(select.textContent).toContain('');
});
// 档位就在模型选择器这一排(同一控制排容器里)。
expect(
@@ -2589,7 +2589,7 @@ export function registerHomeProjectCreationTests() {
);
expect(
await screen.findByText('陶泥儿智能创作 鉴权失败,请重新登录后重试'),
await screen.findAllByText('陶泥儿智能创作 鉴权失败,请重新登录后重试'),
).not.toBeNull();
await waitFor(() => {
expect(persistedMessages).toHaveLength(2);
@@ -2627,7 +2627,7 @@ export function registerHomeProjectCreationTests() {
);
expect(await screen.findByText('生成一个游戏')).not.toBeNull();
expect(
await screen.findByText('陶泥儿智能创作 鉴权失败,请重新登录后重试'),
await screen.findAllByText('陶泥儿智能创作 鉴权失败,请重新登录后重试'),
).not.toBeNull();
expect(
invoke.mock.calls.filter(