diff --git a/meet-ce/frontend/webcomponent/tests/e2e/e2ee-ui.test.ts b/meet-ce/frontend/webcomponent/tests/e2e/e2ee-ui.test.ts index e1a5bbf7..30d9f8ec 100644 --- a/meet-ce/frontend/webcomponent/tests/e2e/e2ee-ui.test.ts +++ b/meet-ce/frontend/webcomponent/tests/e2e/e2ee-ui.test.ts @@ -302,12 +302,12 @@ test.describe('E2EE UI Tests', () => { // Each participant should see an encryption error for the other's video const videoPosterCount = await countElementsInIframe(page, '.encryption-error-poster'); - //! FIXME: Temporarily expecting 2 posters due to audio and video streams (needs to be fixed in ov-components) - expect(videoPosterCount).toBe(2); + // With Smart Layout by default, audio are not in DOM, only video streams are. + expect(videoPosterCount).toBe(1); const videoPosterCount2 = await countElementsInIframe(page2, '.encryption-error-poster'); - //! FIXME: Temporarily expecting 2 posters due to audio and video streams (needs to be fixed in ov-components) - expect(videoPosterCount2).toBe(2); + // With Smart Layout by default, audio are not in DOM, only video streams are. + expect(videoPosterCount2).toBe(1); // Add additional participant with correct key to verify they can see/hear each other const page3 = await context.newPage(); @@ -342,8 +342,8 @@ test.describe('E2EE UI Tests', () => { expect(videoCount3).toBeGreaterThanOrEqual(2); const videoPosterCount3 = await countElementsInIframe(page3, '.encryption-error-poster'); - //! FIXME: Temporarily expecting 2 posters due to audio and video streams (needs to be fixed in ov-components) - expect(videoPosterCount3).toBe(2); + // With Smart Layout by default, audio are not in DOM, only video streams are. + expect(videoPosterCount3).toBe(1); // Cleanup participant 2 await Promise.all([leaveRoom(page2), leaveRoom(page3)]);