ov-components: Fixed nested event test
This commit is contained in:
parent
4c4380a87f
commit
64fbaa2a42
@ -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 () => {
|
||||
|
||||
@ -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">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user