test(web): target generation approval pill
CI/CD Pipeline / Validate Code Quality And Tests (push) Successful in 25s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Successful in 25s
Tests / test (pull_request) Successful in 17s
Tests / lint (pull_request) Successful in 12s
Deploy / Production Browser E2E (push) Failing after 1994h30m50s
Deploy / Deploy Production (push) Failing after 1994h30m52s
Deploy / Build Production Runtime Images (push) Failing after 1994h30m54s
Deploy / Deploy Staging (push) Has been cancelled
CI/CD Pipeline / Validate Code Quality And Tests (push) Successful in 25s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Successful in 25s
Tests / test (pull_request) Successful in 17s
Tests / lint (pull_request) Successful in 12s
Deploy / Production Browser E2E (push) Failing after 1994h30m50s
Deploy / Deploy Production (push) Failing after 1994h30m52s
Deploy / Build Production Runtime Images (push) Failing after 1994h30m54s
Deploy / Deploy Staging (push) Has been cancelled
This commit is contained in:
@@ -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(resultCard.getByText('可发布', { exact: true })).toBeVisible({ timeout: 20_000 });
|
||||
await expect(resultCard.locator('.xx-pill.ok', { hasText: '可发布' })).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> };
|
||||
|
||||
Reference in New Issue
Block a user