From efada4c1663063926bbcca058be2239bb770f1fc Mon Sep 17 00:00:00 2001 From: Carlos Santos <4a.santos@gmail.com> Date: Thu, 14 Aug 2025 12:54:30 +0200 Subject: [PATCH] ov-components: (test) Add check for speaker element when local participant is muted --- openvidu-components-angular/e2e/stream.test.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openvidu-components-angular/e2e/stream.test.ts b/openvidu-components-angular/e2e/stream.test.ts index 4fb23bb0..9f8b7a05 100644 --- a/openvidu-components-angular/e2e/stream.test.ts +++ b/openvidu-components-angular/e2e/stream.test.ts @@ -683,6 +683,9 @@ describe('Stream UI controls and interaction features', () => { await utils.waitForElement('.OV_stream.remote.speaking'); expect(await utils.getNumberOfElements('.OV_stream.remote.speaking')).toEqual(1); + + // Check only one element is marked as speaker due to the local participant is muted + await utils.waitForElement('.OV_stream.speaking'); expect(await utils.getNumberOfElements('.OV_stream.speaking')).toEqual(1); }); });