mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
test(server-e2e): remove test that was no longer relevant
This commit is contained in:
parent
ceb6134af2
commit
8ee6c7114c
@ -8,11 +8,3 @@ test("Goes to share root", async ({ page, context }) => {
|
|||||||
await expect(page).toHaveTitle(noteTitle);
|
await expect(page).toHaveTitle(noteTitle);
|
||||||
await expect(page.locator("h1")).toHaveText(noteTitle);
|
await expect(page.locator("h1")).toHaveText(noteTitle);
|
||||||
});
|
});
|
||||||
|
|
||||||
test("Goes to parent share root page", async ({ page, context }) => {
|
|
||||||
const app = new App(page, context);
|
|
||||||
await app.goto({ url: "/share/bKMn5EFv9KS2" });
|
|
||||||
await expect(page.locator("h1")).toHaveText("Child note");
|
|
||||||
await page.locator("#parentLink a").click();
|
|
||||||
await page.waitForURL("/share/");
|
|
||||||
});
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user