ov-components: Fixed nested event test

master
Carlos Santos 2025-02-13 12:38:15 +01:00
parent 4c4380a87f
commit 64fbaa2a42
2 changed files with 4 additions and 4 deletions

View File

@ -27,7 +27,7 @@ describe('Testing EVENTS', () => {
await browser.quit();
});
it('should receive the onRoomDisconnected event', async () => {
it('should receive the onParticipantLeft event', async () => {
await browser.get(`${url}`);
await utils.clickOn('#ovToolbar-checkbox');
@ -40,8 +40,8 @@ describe('Testing EVENTS', () => {
await utils.clickOn('#leave-btn');
// Checking if onLeaveButtonClicked has been received
await utils.waitForElement('#onRoomDisconnected');
expect(await utils.isPresent('#onRoomDisconnected')).toBeTrue();
await utils.waitForElement('#onParticipantLeft');
expect(await utils.isPresent('#onParticipantLeft')).toBeTrue();
});
it('should receive the onVideoEnabledChanged event', async () => {

View File

@ -93,7 +93,7 @@
(onFullscreenEnabledChanged)="appendElement('onFullscreenEnabledChanged')"
(onRecordingStartRequested)="appendElement('onRecordingStartRequested')"
(onRecordingStopRequested)="appendElement('onRecordingStopRequested')"
(onRoomDisconnected)="appendElement('onRoomDisconnected')"
(onParticipantLeft)="appendElement('onParticipantLeft')"
(onScreenShareEnabledChanged)="appendElement('onScreenShareEnabledChanged')"
>
<ng-template [ngIf]="ovToolbarAdditionalButtonsSelected">