1
0
Эх сурвалжийг харах

test(web): update table hover scrollbar expectation

07akioni 1 долоо хоног өмнө
parent
commit
6d81d0fdbd

+ 1 - 1
apps/web/tests/markdown-wide-table.e2e.ts

@@ -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')