test(e2e): stabilize task center completion assertion

This commit is contained in:
Xiaoxia AI
2026-06-24 08:53:34 +08:00
parent ee6b4a663a
commit 50858a8810
+1 -1
View File
@@ -192,7 +192,7 @@ test.describe('Core generation and download flow', () => {
await page.goto(`/projects/${projectData.id}/tasks`);
await expect(page.getByText('项目任务中心')).toBeVisible({ timeout: 20_000 });
await expect(page.getByText('视频生成')).toBeVisible({ timeout: 20_000 });
await expect(page.getByText('已完成')).toBeVisible({ timeout: 20_000 });
await expect(page.getByText('已完成').first()).toBeVisible({ timeout: 20_000 });
await expect(page.getByText(createdTask.id)).toBeVisible({ timeout: 20_000 });
});
});