Update box brush duplication test to expect same center
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user