mirror of
https://github.com/zadam/trilium.git
synced 2026-05-06 18:17:42 +02:00
e2e(server): update after changing spellcheck settings
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import test, { expect } from "@playwright/test";
|
||||
|
||||
import App from "./support/app";
|
||||
|
||||
test("Native Title Bar not displayed on web", async ({ page, context }) => {
|
||||
@@ -18,8 +19,6 @@ test("Tray settings not displayed on web", async ({ page, context }) => {
|
||||
test("Spellcheck settings not displayed on web", async ({ page, context }) => {
|
||||
const app = new App(page, context);
|
||||
await app.goto({ url: "http://localhost:8082/#root/_hidden/_options/_optionsSpellcheck" });
|
||||
await expect(app.currentNoteSplitContent.getByRole("heading", { name: "Spell Check" })).toBeVisible();
|
||||
await expect(app.currentNoteSplitContent.getByRole("heading", { name: "Tray" })).toBeHidden();
|
||||
await expect(app.currentNoteSplitContent.getByText("These options apply only for desktop builds")).toBeVisible();
|
||||
await expect(app.currentNoteSplitContent.getByText("Enable spellcheck")).toBeHidden();
|
||||
await expect(app.currentNoteSplitContent.getByText("Check spelling")).toBeHidden();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user