Skip to content

Commit 66a4bed

Browse files
committed
ov-components: update selectors for local participant in room tests
1 parent 5e33e8c commit 66a4bed

File tree

1 file changed

+4
-5
lines changed
  • openvidu-components-angular/openvidu-demo-app/frontend/e2e

1 file changed

+4
-5
lines changed

openvidu-components-angular/openvidu-demo-app/frontend/e2e/room.test.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ describe('Testing Room', () => {
7979

8080
await utils.joinSession();
8181

82-
await utils.waitForElement('#local-element-camera');
82+
await utils.waitForElement('.local_participant');
8383
const localVideo = await utils.waitForElement('.OV_video-element');
84-
expect(await utils.isPresent('#local-element-camera')).to.be.true;
84+
expect(await utils.isPresent('.local_participant')).to.be.true;
8585
expect(await localVideo.isDisplayed()).to.be.true;
8686

8787
const tabs = await utils.openTab(fixedUrl);
@@ -92,12 +92,11 @@ describe('Testing Room', () => {
9292
await utils.joinSession();
9393

9494
// check if second tab received the remote video
95-
await utils.waitForElement('#local-element-camera');
95+
await utils.waitForElement('.local_participant');
9696
await utils.waitForElement('.OV_video-element');
9797
await utils.waitForElement('.remote-participant');
9898
expect(await utils.isPresent('.remote-participant')).to.be.true;
99-
expect(await utils.isPresent('#local-element-camera')).to.be.true;
100-
99+
expect(await utils.isPresent('.local_participant')).to.be.true;
101100
// check if first tab received the remote vide
102101
await browser.switchTo().window(tabs[0]);
103102
await utils.waitForElement('.remote-participant');

0 commit comments

Comments
 (0)