diff --git a/apps/web/e2e/core-generation.spec.ts b/apps/web/e2e/core-generation.spec.ts index d79ffec9a..b8d2745de 100644 --- a/apps/web/e2e/core-generation.spec.ts +++ b/apps/web/e2e/core-generation.spec.ts @@ -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 };