e2e(server): update after changing spellcheck settings

This commit is contained in:
Elian Doran
2026-04-07 15:23:19 +03:00
parent 40f9927842
commit 6986963e45

View File

@@ -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();
});