mirror of
https://github.com/zadam/trilium.git
synced 2025-12-12 18:34:24 +01:00
15 lines
497 B
TypeScript
15 lines
497 B
TypeScript
import test, { expect } from "@playwright/test";
|
|
import App from "./support/app";
|
|
|
|
test("Renders on desktop", async ({ page, context }) => {
|
|
const app = new App(page, context);
|
|
await app.goto();
|
|
await expect(app.noteTree).toContainText("Trilium Integration Test");
|
|
});
|
|
|
|
test("Renders on mobile", async ({ page, context }) => {
|
|
const app = new App(page, context);
|
|
await app.goto({ isMobile: true });
|
|
await expect(app.noteTree).toContainText("Trilium Integration Test");
|
|
});
|