test: avoid physical zoom size assumption

This commit is contained in:
Thomas Camlong committed 2026-08-09 18:03:37 +02:00
1 parent d6b6b696b4
commit c530190638
1 file changed
-2
-2
View File
@@ -177,8 +177,6 @@ describe("Board grid", () => {
await expect(canvas).toHaveAttribute("data-canvas-overflow", "false");
await expectFixedLogicalTileAsync(logicalTile);
await expectUniformVisualScaleAsync(logicalTile);
const zoomedTileBox = await expectBoundingBoxAsync(logicalTile);
expect(zoomedTileBox.width).toBeCloseTo(normalZoomTileBox.width, 1);
await expectNoHorizontalOverflowAsync(canvas);
await expectDocumentNotHorizontallyScrollableAsync(page);
const overflowRailY = (await expectBoundingBoxAsync(rail)).y;