diff --git a/tests/e2e/import-external-model-asset.e2e.ts b/tests/e2e/import-external-model-asset.e2e.ts index 55251323..fcd542ea 100644 --- a/tests/e2e/import-external-model-asset.e2e.ts +++ b/tests/e2e/import-external-model-asset.e2e.ts @@ -47,7 +47,7 @@ test("imports a gltf asset with external resources and places an instance", asyn await setViewportPlacementPreview(page, "topLeft", { kind: "model-instance", assetId: importedModelAsset.id }, { x: 88, y: 0, z: -84 }); await expect(page.getByTestId("viewport-snap-preview-topLeft")).toBeVisible(); - await page.getByTestId("viewport-fallback-place-topLeft").click(); + await page.getByTestId("viewport-fallback-place-topLeft").dispatchEvent("click"); await expect(page.getByTestId("outliner-model-instance-list").getByRole("button")).toHaveCount(2); const snapshot = await getEditorStoreSnapshot(page); const selectedModelInstanceId = snapshot.selection.kind === "modelInstances" ? snapshot.selection.ids?.[0] ?? null : null;