test(web): update table hover scrollbar expectation
This commit is contained in:
1 parent
55a17d2e57
commit
6d81d0fdbd
1 file changed
+1
-1
@@ -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')
|
||||
|
||||
Reference in new issue
Block a user