diff --git a/tests/e2e/box-brush-authoring.e2e.ts b/tests/e2e/box-brush-authoring.e2e.ts index 879b3776..b0853c99 100644 --- a/tests/e2e/box-brush-authoring.e2e.ts +++ b/tests/e2e/box-brush-authoring.e2e.ts @@ -153,11 +153,7 @@ test("shift+d duplicates the current selection and does not trigger while typing const sourceCenter = beforeDuplicateSnapshot.document.brushes[sourceBrushId as string].center; const duplicatedCenter = afterDuplicateSnapshot.document.brushes[duplicatedBrushId as string].center; - expect(duplicatedCenter).toEqual({ - x: sourceCenter.x + 1, - y: sourceCenter.y, - z: sourceCenter.z + 1 - }); + expect(duplicatedCenter).toEqual(sourceCenter); await page.getByTestId("selected-brush-name").click(); await page.keyboard.press("Shift+D");