ov-components: (test) Add check for speaker element when local participant is muted

master
Carlos Santos 2025-08-14 12:54:30 +02:00
parent 3fc0193260
commit efada4c166
1 changed files with 3 additions and 0 deletions

View File

@ -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);
});
});