Skip to content

Build your personal knowledge base with Trilium Notes

e2e(server): update after changing spellcheck settings

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