mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
fix(e2e): flaky test due to timeout
This commit is contained in:
parent
b69cad2298
commit
093f9d60f0
@ -49,9 +49,9 @@ 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");
|
||||||
await expect(app.currentNoteSplit).toContainText("主题");
|
await expect(app.currentNoteSplit).toContainText("主题", { timeout: 15000 });
|
||||||
|
|
||||||
// Select English again.
|
// Select English again.
|
||||||
await languageCombobox.selectOption("en");
|
await languageCombobox.selectOption("en");
|
||||||
await expect(app.currentNoteSplit).toContainText("Language");
|
await expect(app.currentNoteSplit).toContainText("Language", { timeout: 15000 });
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user