From 12368b7091eabfd8565b054d9015cbc760d4d512 Mon Sep 17 00:00:00 2001 From: Codex Date: Sun, 17 May 2026 08:19:36 +0000 Subject: [PATCH] test: make decision center blocker assertion case-insensitive --- scripts/src/e2e.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/src/e2e.ts b/scripts/src/e2e.ts index 2156547e..ae62c899 100644 --- a/scripts/src/e2e.ts +++ b/scripts/src/e2e.ts @@ -1871,9 +1871,10 @@ async function frontendCheck(config: UniDeskConfig, urls: PublicUrls, checks: E2 await page.waitForSelector('[data-testid="decision-center-record-table"]', { timeout: 30000 }); await page.waitForFunction((title) => { const text = document.body.innerText; + const lowerText = text.toLowerCase(); return text.includes("Decision Center") && text.includes("G0/G1 目标") - && text.includes("P0/P1 Blocker") + && lowerText.includes("p0/p1 blocker") && text.includes("停放事项") && text.includes("最近会议/决议") && text.includes("查看原始JSON")