mirror of https://github.com/TriliumNext/Notes
feat(e2e): test going to share root
parent
f96ab6da57
commit
6ea8a31a22
@ -0,0 +1,10 @@
|
||||
import { test, expect, Page } from "@playwright/test";
|
||||
import App from "./support/app";
|
||||
|
||||
test("Goes to share root", async ({ page, context }) => {
|
||||
const app = new App(page, context);
|
||||
await app.goto({ url: "/share" });
|
||||
const noteTitle = "Shared notes";
|
||||
await expect(page).toHaveTitle(noteTitle);
|
||||
await expect(page.locator("h1")).toHaveText(noteTitle);
|
||||
});
|
||||
Binary file not shown.
Loading…
Reference in New Issue