稳定AI前端异步测试
Project CI / Native shell tests (push) Failing after 59s
Project CI / Backend tests (push) Failing after 59s
Project CI / Repository checks (push) Failing after 1m58s
Project CI / Frontend tests (push) Failing after 2m46s

等待项目Agent运行态水合完成后再断言提交方式
避免干净runner较慢时同步查询抢跑
This commit is contained in:
2026-07-21 20:19:13 +08:00
parent 5611b60d7f
commit 1f29ea6d8c
@@ -18534,7 +18534,7 @@ describe('AI 游戏创作 App 界面边界', () => {
fireEvent.click(screen.getByRole('button', { name: /拆解创作方向/ }));
const dialog = await screen.findByLabelText('Agent 对话');
expect(
within(dialog).getByLabelText('项目 Agent 后台任务提交方式'),
await within(dialog).findByLabelText('项目 Agent 后台任务提交方式'),
).toHaveProperty('value', 'steer');
const input = within(dialog).getByLabelText('Agent 对话内容');