Modify import-draco-model-asset.e2e.ts to use dispatchEvent

This commit is contained in:
2026-04-03 00:10:20 +02:00
parent 8a0f97477f
commit 56305dc7cf

View File

@@ -66,7 +66,7 @@ test("imports a draco-compressed glb asset, places an instance, and survives rel
z: -88
});
await page.getByRole("button", { name: "Save Draft" }).click();
await page.getByRole("button", { name: "Save Draft" }).dispatchEvent("click");
await expect(page.getByTestId("status-message")).toContainText("Local draft saved.");
await page.reload();