fix(e2e): 任务历史选择器改用heading精确定位,避免匹配侧边栏菜单
Deploy / Staging E2E Tests (push) Failing after 118h44m42s
Deploy / Deploy Staging (push) Failing after 118h46m18s
CI/CD Pipeline / Frontend Lint (push) Failing after 118h46m52s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 118h46m52s
Deploy / Production Browser E2E (push) Failing after 1777h20m20s
Deploy / Build Production Runtime Images (push) Failing after 1777h20m50s
Deploy / Deploy Production (push) Failing after 1777h51m47s
Deploy / Staging E2E Tests (push) Failing after 118h44m42s
Deploy / Deploy Staging (push) Failing after 118h46m18s
CI/CD Pipeline / Frontend Lint (push) Failing after 118h46m52s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 118h46m52s
Deploy / Production Browser E2E (push) Failing after 1777h20m20s
Deploy / Build Production Runtime Images (push) Failing after 1777h20m50s
Deploy / Deploy Production (push) Failing after 1777h51m47s
This commit is contained in:
@@ -232,7 +232,7 @@ test.describe("Core generation flow", () => {
|
||||
|
||||
// Navigate to history page
|
||||
await page.goto("/app/history");
|
||||
await expect(page.getByText("任务历史")).toBeVisible({ timeout: 20_000 });
|
||||
await expect(page.getByRole("heading", { name: "任务历史" })).toBeVisible({ timeout: 20_000 });
|
||||
await expect(page.getByText("全部")).toBeVisible();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user