test(e2e): stabilize review action selector
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Production Browser E2E (push) Failing after 2032h9m25s
Deploy / Deploy Production (push) Failing after 2032h40m44s
Deploy / Build Production Runtime Images (push) Failing after 2032h18m29s

This commit is contained in:
Xiaoxia AI
2026-06-23 23:12:19 +08:00
parent 57942e06d9
commit 84518a783f
+1 -1
View File
@@ -112,7 +112,7 @@ test.describe('Core media upload flow', () => {
await expect(page.getByText(/推荐素材:1/)).toBeVisible({ timeout: 20_000 });
await expect(page.getByText(/视频素材数量偏少|素材准备度良好/)).toBeVisible({ timeout: 20_000 });
await expect(page.getByRole('cell', { name: 'e2e-sample.MOV', exact: true })).toBeVisible({ timeout: 20_000 });
await page.getByRole('row', { name: /e2e-sample\.MOV/ }).getByRole('button', { name: '通过' }).click();
await page.getByRole('row', { name: /e2e-sample\.MOV/ }).getByRole('button', { name: /通\s*过/ }).click();
await expect(page.getByText('复核状态已更新')).toBeVisible({ timeout: 10_000 });
await expect(page.getByText('已通过')).toBeVisible({ timeout: 20_000 });
await expect(page.getByText(/素材列表加载失败|上传失败/)).toHaveCount(0);