test(web): update table hover scrollbar expectation

This commit is contained in:
07akioni committed 2026-09-14 11:47:13 +08:00
1 parent 55a17d2e57
commit 6d81d0fdbd
1 file changed
+1 -1
+1 -1
View File
@@ -386,7 +386,7 @@ describe('web e2e: markdown tables fill the column, wide ones break out and scro
// Resting hidden overflow keeps the scroll position reachable and intact.
expect(await wide.evaluate(element => element.scrollLeft)).toBeGreaterThanOrEqual(0)
await wide.hover()
await expect.poll(overflowState, { timeout: 5_000 }).toBe('auto 0px')
await expect.poll(overflowState, { timeout: 5_000 }).toBe('scroll 0px')
// Pointer leaves: the bar rests hidden again.
await page.mouse.move(4, 4)
await expect.poll(overflowState, { timeout: 5_000 }).toBe('hidden 8px')