Change import-model-asset.e2e.ts to use dispatchEvent for click
This commit is contained in:
@@ -67,7 +67,7 @@ test("imports a model asset, places an instance, and survives reload", async ({
|
|||||||
z: -76
|
z: -76
|
||||||
});
|
});
|
||||||
|
|
||||||
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