test: avoid physical zoom size assumption
This commit is contained in:
1 parent
7cf6a5d5ab
commit
d0880aa04c
1 file changed
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user