test(web): scope generation approval assertion
CI/CD Pipeline / Validate Code Quality And Tests (push) Successful in 23s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Successful in 24s
Tests / test (pull_request) Successful in 16s
Tests / lint (pull_request) Successful in 11s
Deploy / Production Browser E2E (push) Failing after 1994h46m4s
Deploy / Deploy Production (push) Failing after 1994h46m6s
Deploy / Build Production Runtime Images (push) Failing after 1994h46m8s
Deploy / Deploy Staging (push) Has been cancelled

This commit is contained in:
Xiaoxia AI
2026-06-25 12:43:17 +08:00
parent dd416ebed9
commit f776fe0250
+1 -1
View File
@@ -196,7 +196,7 @@ test.describe('Core generation and download flow', () => {
await expect(page.getByRole('button', { name: '批量获取下载地址' })).toBeEnabled();
await resultCard.getByRole('button', { name: '可发布' }).click();
await expect(page.getByText('成片复核状态已更新')).toBeVisible({ timeout: 10_000 });
await expect(page.getByText('可发布', { exact: true })).toBeVisible({ timeout: 20_000 });
await expect(resultCard.getByText('可发布', { exact: true })).toBeVisible({ timeout: 20_000 });
const reviewedVideo = await request.get(`${apiBase}/generated-videos/${generatedVideo.id}`, { headers });
expect(reviewedVideo.status(), await reviewedVideo.text()).toBe(200);
const reviewedVideoData = (await reviewedVideo.json()) as { review_status: string; generation_params: Record<string, unknown> };