mirror of
https://github.com/zadam/trilium.git
synced 2026-01-03 21:24:24 +01:00
test(server/pdf): move beforeAll
This commit is contained in:
parent
8bf8d85bb7
commit
b2378f2a53
@ -4,12 +4,13 @@ import test, { BrowserContext, expect, Page } from "@playwright/test";
|
||||
|
||||
import App from "../support/app";
|
||||
|
||||
test.beforeAll(async ({ page, context }) => {
|
||||
const app = await setLayout({ page, context }, true);
|
||||
await app.setOption("rightPaneCollapsedItems", "[]");
|
||||
});
|
||||
test.beforeAll(async ({ page, context }) => await setLayout({ page, context }, true));
|
||||
|
||||
describe("PDF sidebar", () => {
|
||||
test.beforeAll(async ({ page, context }) => {
|
||||
const app = await setLayout({ page, context }, true);
|
||||
await app.setOption("rightPaneCollapsedItems", "[]");
|
||||
});
|
||||
// test.beforeAll(async ({ page, context }) => await setLayout({ page, context }, true));
|
||||
|
||||
test("Table of contents works", async ({ page, context }) => {
|
||||
const app = new App(page, context);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user