test(web): expect the 12px reply gap in seeded history
The seeded-history check measured the folded final answer 16px below the Turn control. Hidden process rows separate the two, so the answer now keeps the 12px reply gap.
This commit is contained in:
1 parent
c458eab0a0
commit
31cca04e6c
1 file changed
+2
-1
@@ -381,7 +381,8 @@ describe('web e2e: seeded history renders through cold resume', () => {
|
||||
const processBottom = await process.evaluate(element => element.getBoundingClientRect().bottom)
|
||||
const answerTop = await page.getByText('DONE', { exact: true }).evaluate(element =>
|
||||
element.getBoundingClientRect().top)
|
||||
expect(answerTop).toBe(processBottom + 16)
|
||||
// Hidden process rows separate the folded control from the answer, so it keeps the 12px reply gap.
|
||||
expect(answerTop).toBe(processBottom + 12)
|
||||
expect(await page.getByText('Context compacted', { exact: true }).count()).toBe(0)
|
||||
// Tool cards render from logged tool/call + tool/result alone (views are
|
||||
// host-recomputed per page; the generic card is the documented default).
|
||||
|
||||
Reference in new issue
Block a user