Bläddra i källkod

test(web): update table hover scrollbar expectation

07akioni 3 veckor sedan
förälder
incheckning
6d81d0fdbd
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      apps/web/tests/markdown-wide-table.e2e.ts

+ 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.
     // Resting hidden overflow keeps the scroll position reachable and intact.
     expect(await wide.evaluate(element => element.scrollLeft)).toBeGreaterThanOrEqual(0)
     expect(await wide.evaluate(element => element.scrollLeft)).toBeGreaterThanOrEqual(0)
     await wide.hover()
     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.
     // Pointer leaves: the bar rests hidden again.
     await page.mouse.move(4, 4)
     await page.mouse.move(4, 4)
     await expect.poll(overflowState, { timeout: 5_000 }).toBe('hidden 8px')
     await expect.poll(overflowState, { timeout: 5_000 }).toBe('hidden 8px')