fix(deploy): remove orphaned proxy directives from template cleanup
Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -91,6 +91,15 @@ test('outside release debug', async ({ page }: { page: Page }) => {
|
||||
return `reasons=[${d ? [...d.reasons].join(',') : '?'}] userPaused=${d?.userPaused.value}`;
|
||||
}));
|
||||
|
||||
// 手动在 iframe window 派发 pointerup——验证组件监听是否注册生效
|
||||
await f!.evaluate(() => {
|
||||
window.dispatchEvent(new PointerEvent('pointerup', { bubbles: true, clientX: 0, clientY: 0, pointerId: 1 }));
|
||||
});
|
||||
await page.waitForTimeout(1500);
|
||||
console.log('[2b after manual pointerup]', await f!.evaluate(() => {
|
||||
const d = (window as unknown as { __embedDebug?: { reasons: Set<string> } }).__embedDebug;
|
||||
return `reasons=[${d ? [...d.reasons].join(',') : '?'}]`;
|
||||
}));
|
||||
const s1 = await offset();
|
||||
await page.waitForTimeout(15000);
|
||||
console.log('[3 15s moved]', Math.abs((await offset()) - s1).toFixed(0), 'px');
|
||||
|
||||
Reference in New Issue
Block a user