From 6986963e45bf6b6de9138939983c837d2a8cd0ef Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Tue, 7 Apr 2026 15:23:19 +0300 Subject: [PATCH] e2e(server): update after changing spellcheck settings --- apps/server-e2e/src/settings.spec.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/server-e2e/src/settings.spec.ts b/apps/server-e2e/src/settings.spec.ts index 28210e57ce..d0216c2550 100644 --- a/apps/server-e2e/src/settings.spec.ts +++ b/apps/server-e2e/src/settings.spec.ts @@ -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(); });