Skip to content

Commit

Permalink
click in top left corner of prosemirror element
Browse files Browse the repository at this point in the history
  • Loading branch information
3mcd committed Feb 19, 2025
1 parent 4cbbdf5 commit db59148
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion core/playwright/pub.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,12 @@ test.describe("Creating a pub", () => {
// Now update
await page.getByTestId("pub-dropdown-button").first().click();
await page.getByRole("link", { name: "Update Pub" }).click();
await page.locator(".ProseMirror").click();
await page.locator(".ProseMirror").click({
position: {
x: 0,
y: 0,
},
});
await page.keyboard.type("prefix ");

await page.getByRole("button", { name: "Save" }).click();
Expand Down

0 comments on commit db59148

Please sign in to comment.