Modify import-draco-model-asset.e2e.ts to use dispatchEvent
This commit is contained in:
@@ -66,7 +66,7 @@ test("imports a draco-compressed glb asset, places an instance, and survives rel
|
|||||||
z: -88
|
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 expect(page.getByTestId("status-message")).toContainText("Local draft saved.");
|
||||||
|
|
||||||
await page.reload();
|
await page.reload();
|
||||||
|
|||||||
Reference in New Issue
Block a user