fix(e2e): flaky test due to timeout

pull/936/head
Elian Doran 2025-01-13 17:46:57 +07:00
parent b69cad2298
commit 093f9d60f0
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

@ -49,9 +49,9 @@ test("User can change language from settings", async ({ page, context }) => {
// Select Chinese and ensure the translation is set.
await languageCombobox.selectOption("cn");
await expect(app.currentNoteSplit).toContainText("主题");
await expect(app.currentNoteSplit).toContainText("主题", { timeout: 15000 });
// Select English again.
await languageCombobox.selectOption("en");
await expect(app.currentNoteSplit).toContainText("Language");
await expect(app.currentNoteSplit).toContainText("Language", { timeout: 15000 });
});