From a3202bafbb0d992d0632069e57f2fc2a6fc474c5 Mon Sep 17 00:00:00 2001 From: leiyun Date: Mon, 31 Aug 2026 00:45:41 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E8=A1=A5=E5=85=85=E6=82=AC=E6=B5=AE?= =?UTF-8?q?=E6=95=B0=E5=AD=97=E4=BA=BA=E5=8D=8F=E8=AE=AE=E5=9B=9E=E5=BD=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/prototype-sync-regression.spec.ts | 77 +++++++++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/tests/prototype-sync-regression.spec.ts b/tests/prototype-sync-regression.spec.ts index 40060fd..7817571 100644 --- a/tests/prototype-sync-regression.spec.ts +++ b/tests/prototype-sync-regression.spec.ts @@ -359,6 +359,83 @@ test('公开回答只播放服务端音频,缺失时保留文字且不调用 await expect.poll(() => page.evaluate(() => (window as unknown as { __speechSynthesisUtteranceCalls: number }).__speechSynthesisUtteranceCalls)).toBe(0) }) +test('悬浮数字人向宿主上报拖动并应用宿主主题', async ({ page }) => { + await installMocks(page) + await page.route('**/widget-protocol-host', (route) => route.fulfill({ + status: 200, + contentType: 'text/html; charset=utf-8', + body: ` + +