From 60e8318661abc6cc6eda7ec9edd16fa88c25596f Mon Sep 17 00:00:00 2001 From: DevOps Bot Date: Mon, 6 Jul 2026 11:49:22 +0800 Subject: [PATCH] =?UTF-8?q?fix(e2e):=20=E6=88=90=E7=89=87=E5=BA=93?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E9=AA=8C=E8=AF=81=E6=94=B9=E7=94=A8getByPlac?= =?UTF-8?q?eholder=E6=9B=BF=E4=BB=A3heading=EF=BC=8C=E9=81=BF=E5=85=8D?= =?UTF-8?q?=E5=9B=BE=E6=A0=87=E5=AF=BC=E8=87=B4accessible=20name=E8=AE=A1?= =?UTF-8?q?=E7=AE=97=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web/e2e/core-generation.spec.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/web/e2e/core-generation.spec.ts b/apps/web/e2e/core-generation.spec.ts index 769741f8b..f32db2180 100755 --- a/apps/web/e2e/core-generation.spec.ts +++ b/apps/web/e2e/core-generation.spec.ts @@ -229,9 +229,11 @@ test.describe("Core generation flow", () => { // If we see progress or result, great; if not, flow still reached the end // which is sufficient for an E2E smoke test - // Verify product library page loads + // Verify product library page loads (smoke: just verify page renders) await page.goto("/app/products"); - await expect(page.getByRole("heading", { name: /成片库/ })).toBeVisible({ + await expect(page).toHaveURL(/\/app\/products/); + // Verify search input exists = page rendered correctly (more reliable than heading with icon) + await expect(page.getByPlaceholder("搜索成片名称...")).toBeVisible({ timeout: 15_000, }); });