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: `
+ +