mirror of
https://github.com/zadam/trilium.git
synced 2026-01-02 12:44:25 +01:00
test(pdfjs): replace beforeAll with beforeEach
Some checks are pending
Checks / main (push) Waiting to run
Some checks are pending
Checks / main (push) Waiting to run
This commit is contained in:
parent
7ec7b6bd7b
commit
8d3a0b5295
@ -4,11 +4,11 @@ import test, { BrowserContext, expect, Page } from "@playwright/test";
|
||||
|
||||
import App from "../support/app";
|
||||
|
||||
test.beforeAll(async ({ page, context }) => {
|
||||
test.beforeEach(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.afterEach(async ({ page, context }) => await setLayout({ page, context }, false));
|
||||
|
||||
describe("PDF sidebar", () => {
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user