Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(tests): give the persisted Ctrl+Alt shortcut check a longer timeout

damenchoae89c12d1921
diff --git a/tests/specs/misc/reactionShortcuts.spec.ts b/tests/specs/misc/reactionShortcuts.spec.ts
index 82f25a09b4..eb968ed5d9 100644
--- a/tests/specs/misc/reactionShortcuts.spec.ts
+++ b/tests/specs/misc/reactionShortcuts.spec.ts
@@ -120,7 +120,7 @@ describe('Reaction keyboard shortcut aliases', () => {
shortcuts.includes(`:${character}`) && !shortcuts.includes(`-:${character}`));
});
await p1.driver.waitUntil(async () =>
- await getPersistedCtrlAltReactionShortcutsPreference() === false);
+ await getPersistedCtrlAltReactionShortcutsPreference() === false, { timeout: 3000 });
expect(await sendCtrlAltT()).toEqual([]);
@@ -138,6 +138,6 @@ describe('Reaction keyboard shortcut aliases', () => {
return REACTION_SHORTCUT_CHARACTERS.every(character => shortcuts.includes(`-:${character}`));
});
await p1.driver.waitUntil(async () =>
- await getPersistedCtrlAltReactionShortcutsPreference() === true);
+ await getPersistedCtrlAltReactionShortcutsPreference() === true, { timeout: 3000 });
});
});