From 6f3d968dc620a115fe48acba56c28f2aaf47e39d Mon Sep 17 00:00:00 2001 From: SandObserver <260779319+SandObserver@users.noreply.github.com> Date: Thu, 22 Oct 2026 21:23:03 -0400 Subject: [PATCH] Allow 1px sub-pixel tolerance in the empty dashboard scroll test --- e2e/reflow.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/reflow.spec.js b/e2e/reflow.spec.js index d26c4560..ee0b98ef 100644 --- a/e2e/reflow.spec.js +++ b/e2e/reflow.spec.js @@ -40,7 +40,7 @@ test('the empty dashboard welcome scrolls when it does not fit', async ({ page, .poll(() => page.evaluate(() => document.querySelector('.empty-state')?.scrollTop ?? 0)) .toBeGreaterThan(0); const hint = await box(page.locator('.empty-state-hint')); - expect(hint.y + hint.height, 'the import link scrolls into view').toBeLessThanOrEqual(120); + expect(hint.y + hint.height, 'the import link scrolls into view').toBeLessThanOrEqual(121); }); test.describe('on a touch screen', () => {