fix: keep the welcome composer at the bottom

This commit is contained in:
鲨鱼辣椒 committed 2026-09-29 15:50:43 +08:00
1 parent f8a7880da3
commit e812371973
8 files changed
+46 -18

No files matched your search

+3
View File
@@ -1110,6 +1110,9 @@ test('first PI Conversation is editable under 500 ms and submits before runtime
await appendFile(performanceFragment, `${JSON.stringify({ editableMs })}\n`);
}
await expect(page.getByTestId('coding-message-composer')).toBeInViewport({ ratio: 1 });
expect(await page.getByTestId('coding-message-composer').evaluate(el => innerHeight - el.getBoundingClientRect().bottom)).toBeLessThan(40);
const pixelPng = Buffer.from(
'iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNk+A8AAQUBAScY42YAAAAASUVORK5CYII=',
'base64',