From ab9558f459c6a455af01fcedb6448a550dfe347f Mon Sep 17 00:00:00 2001 From: ZiyaZhang <199893125+ZiyaZhang@users.noreply.github.com> Date: Mon, 19 Oct 2026 22:33:00 -0700 Subject: [PATCH] test: align CUA mode guidance with scenario description --- apps/web/tests/cua-optin.e2e.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/tests/cua-optin.e2e.ts b/apps/web/tests/cua-optin.e2e.ts index 9cc9cf1f16..1b1db10e14 100644 --- a/apps/web/tests/cua-optin.e2e.ts +++ b/apps/web/tests/cua-optin.e2e.ts @@ -53,7 +53,7 @@ it.each([undefined, 'minimal'] as const)('adds CUA to PTC sessions while preserv expect(await card.getByText('实验性', { exact: true }).count()).toBe(1) const toggle = card.getByRole('switch', { name: '启用 Computer Use', exact: true }) expect(await toggle.getAttribute('aria-checked')).toBe('false') - expect(await card.textContent()).toContain('请切换到 PTC 模式') + expect(await card.textContent()).toContain('需切换到 PTC 模式') // Bundle transitions await native cleanup under the browser action deadline. await toggle.click() await toggle.and(page.locator('[aria-checked="true"]')).waitFor({ state: 'visible' })