From 86ff8d7016431b3d46f1454728d9428778e1f530 Mon Sep 17 00:00:00 2001 From: JasonBuildAI Date: Tue, 27 Oct 2026 17:17:41 +0800 Subject: [PATCH] test(workspace): follow the renamed tentative-finding label MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #7368 renamed the tentative finding state from 待检查 to 暂定结论 so the reader no longer calls a tentative finding a queued check. The packaged research-finding-reader acceptance scenario still pinned the retired label in three assertions, so dashboard-browser (2) and chat-bundle-browser (2) aborted there and the required checks job failed for every PR. Follow the shipped label and keep the Chinese/English assertions paired. Closes #7480 Signed-off-by: JasonBuildAI --- .../personal-workspace-browser/research-finding-reader.mjs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/personal-workspace-browser/research-finding-reader.mjs b/examples/personal-workspace-browser/research-finding-reader.mjs index 76cefea054..e55a14ac16 100644 --- a/examples/personal-workspace-browser/research-finding-reader.mjs +++ b/examples/personal-workspace-browser/research-finding-reader.mjs @@ -61,7 +61,7 @@ export const researchFindingReaderScenario = { assert.equal(await article.count(), 1, "A dense question presents one full document, not twenty stacked documents"); assert.equal(await picker.inputValue(), "finding-19"); await page.waitForURL(/research_finding=finding-19/); - assert.match(await reader.locator(".research-finding-exceptions").innerText(), /已反驳 3.*待检查 4/); + assert.match(await reader.locator(".research-finding-exceptions").innerText(), /已反驳 3.*暂定结论 4/); assert.equal(await history.locator(".research-history-canvas").isVisible(), false, "The selected text leads; history is available on demand"); await page.screenshot({path: resolve(outputDir, "research-finding-reader-desktop.png"), animations: "disabled"}); await page.locator(".personal-channel-scroll").evaluate(element => element.scrollTop = 0); @@ -115,7 +115,7 @@ export const researchFindingReaderScenario = { await page.setViewportSize({width, height: 900}); const group = history.locator(".research-trail-question").first(); assert.equal(await group.locator("h4").innerText(), "合成研究:质量、延迟和未知成本应如何一起判断?"); - assert.match(await group.locator("header").innerText(), /20 条决策记录.*已反驳 3.*待检查 4/s); + assert.match(await group.locator("header").innerText(), /20 条决策记录.*已反驳 3.*暂定结论 4/s); const decisions = group.locator(".research-trail-list button"); if (width === 1440) assert.equal(await decisions.count(), 3, "A question starts with three records, not repeated title cards"); await group.scrollIntoViewIfNeeded(); @@ -178,7 +178,7 @@ export const researchFindingReaderScenario = { assert.equal(await article.count(), 0, "An unknown explicit finding does not silently open a different record"); assert.match(await reader.innerText(), /找不到所选结论/); await picker.selectOption("finding-4"); - assert.match(await article.innerText(), /待检查/); + assert.match(await article.innerText(), /暂定结论/); await page.evaluate(() => localStorage.setItem("loopx-pw-locale", "en")); await page.reload({waitUntil: "domcontentloaded"}); await reader.getByRole("combobox", {name: "Choose a question finding", exact: true}).waitFor();