From a0af34fc975a5fdb4a8d2468851957d7329c5629 Mon Sep 17 00:00:00 2001 From: BigDataDZ <76271875+BigDataDZ@users.noreply.github.com> Date: Mon, 26 Oct 2026 14:37:46 +0800 Subject: [PATCH] test(workspace): verify remote reading authority through current help Signed-off-by: BigDataDZ <76271875+BigDataDZ@users.noreply.github.com> --- examples/personal-workspace-browser/navigation-sorting.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/personal-workspace-browser/navigation-sorting.mjs b/examples/personal-workspace-browser/navigation-sorting.mjs index e5a8faf8c5..d818319f0e 100644 --- a/examples/personal-workspace-browser/navigation-sorting.mjs +++ b/examples/personal-workspace-browser/navigation-sorting.mjs @@ -272,7 +272,8 @@ export const navigationSortingScenario = { await remote.getByLabel("本机 SSH Host").fill("remote-lab"); await remote.getByText("ssh -N -L 8876:127.0.0.1:8766 remote-lab", { exact: true }).waitFor({ state: "visible" }); await remote.getByRole("button", { name: "添加只读来源" }).click(); - await remote.getByText("远端只读投影", { exact: true }).waitFor({ state: "visible" }); + await readContextHelp(remote, remote.locator(".personal-read-only-notice"), "只读来源", + "你可以查看 Goal、Task、证据与运行状态;写入、纠偏和 Agent 会话仍留在来源主机。"); await remote.getByRole("button", { name: "添加 SSH 隧道来源" }).click(); await remote.getByRole("tab", { name: "手动 URL" }).click(); await remote.getByLabel("名称").fill("Remote build host");