From 093f9d60f038b9dd830dca74b5f2f60523a54c8d Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Mon, 13 Jan 2025 17:46:57 +0200 Subject: [PATCH] fix(e2e): flaky test due to timeout --- e2e/i18n.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/i18n.spec.ts b/e2e/i18n.spec.ts index d075a61ba..70713f097 100644 --- a/e2e/i18n.spec.ts +++ b/e2e/i18n.spec.ts @@ -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 }); });