mirror of https://github.com/TriliumNext/Notes
feat(e2e): add test for settings translations
parent
1abc8abee6
commit
0db3bfd8ae
@ -0,0 +1,13 @@
|
|||||||
|
import { test, expect, Page } from "@playwright/test";
|
||||||
|
import App from "./support/app";
|
||||||
|
|
||||||
|
test("Displays translations in Settings", async ({ page }) => {
|
||||||
|
const app = new App(page);
|
||||||
|
await app.goto();
|
||||||
|
await app.closeAllTabs();
|
||||||
|
await app.goToSettings();
|
||||||
|
await app.noteTree.getByText("Appearance").click();
|
||||||
|
|
||||||
|
expect(app.currentNoteSplit).toContainText("Localization");
|
||||||
|
expect(app.currentNoteSplit).toContainText("Language");
|
||||||
|
});
|
||||||
Loading…
Reference in New Issue