Skip to content

Commit

Permalink
ov-components: Fixed nested event test
Browse files Browse the repository at this point in the history
  • Loading branch information
CSantosM committed Feb 13, 2025
1 parent 4c4380a commit bb9d56c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -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 () => {
Expand Down

0 comments on commit bb9d56c

Please sign in to comment.