diff --git a/apps/meteor/tests/e2e/iframe-authentication.spec.ts b/apps/meteor/tests/e2e/iframe-authentication.spec.ts index 0b5e1cb388707..dbfe0c68a637e 100644 --- a/apps/meteor/tests/e2e/iframe-authentication.spec.ts +++ b/apps/meteor/tests/e2e/iframe-authentication.spec.ts @@ -77,6 +77,7 @@ test.describe('iframe-authentication', () => { }); await page.goto('/home'); + await poUtils.mainContent.waitFor({ state: 'visible' }); await expect(poUtils.mainContent).toBeVisible(); }); diff --git a/apps/meteor/tests/e2e/video-conference.spec.ts b/apps/meteor/tests/e2e/video-conference.spec.ts index 861bd2b2f56a1..7f531e5b254ce 100644 --- a/apps/meteor/tests/e2e/video-conference.spec.ts +++ b/apps/meteor/tests/e2e/video-conference.spec.ts @@ -36,7 +36,8 @@ test.describe('video conference', () => { await page.keyboard.press('Space'); await expect(poHomeChannel.content.getVideoConfPopup(`Start a call in ${targetChannel}`)).toBeVisible(); - await expect(poHomeChannel.content.btnVideoConfMic).toBeFocused(); + await expect(poHomeChannel.content.btnVideoConfMic).toBeVisible(); + await expect(poHomeChannel.content.btnVideoConfMic).toBeFocused({ timeout: 10_000 }); }); await test.step('dispatch start call button', async () => {