mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-30 19:52:28 +08:00
Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop
This commit is contained in:
commit
40e990d39a
3
.vscode/extensions.json
vendored
3
.vscode/extensions.json
vendored
@ -2,6 +2,7 @@
|
|||||||
"recommendations": [
|
"recommendations": [
|
||||||
"lokalise.i18n-ally",
|
"lokalise.i18n-ally",
|
||||||
"editorconfig.editorconfig",
|
"editorconfig.editorconfig",
|
||||||
"vitest.explorer"
|
"vitest.explorer",
|
||||||
|
"ms-playwright.playwright"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -47,6 +47,10 @@ test("User can change language from settings", async ({ page, context }) => {
|
|||||||
|
|
||||||
// Select Chinese and ensure the translation is set.
|
// Select Chinese and ensure the translation is set.
|
||||||
await languageCombobox.selectOption("cn");
|
await languageCombobox.selectOption("cn");
|
||||||
|
|
||||||
|
// Press the refresh button.
|
||||||
|
await app.currentNoteSplit.getByRole("button", { name: "Restart the application" }).click();
|
||||||
|
|
||||||
await expect(app.currentNoteSplit).toContainText("一周的第一天", { timeout: 15000 });
|
await expect(app.currentNoteSplit).toContainText("一周的第一天", { timeout: 15000 });
|
||||||
await expect(languageCombobox).toHaveValue("cn");
|
await expect(languageCombobox).toHaveValue("cn");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user