From 920bba1bf3a5253f2763a2c008e84578a0e25c33 Mon Sep 17 00:00:00 2001 From: Carlos Santos <4a.santos@gmail.com> Date: Tue, 20 May 2025 17:33:03 +0200 Subject: [PATCH] ov-components: update test to focus on VIDEO DISABLED scenario in prejoin page --- openvidu-components-angular/e2e/api-directives.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/openvidu-components-angular/e2e/api-directives.test.ts b/openvidu-components-angular/e2e/api-directives.test.ts index c1d484b6..6ddf6214 100644 --- a/openvidu-components-angular/e2e/api-directives.test.ts +++ b/openvidu-components-angular/e2e/api-directives.test.ts @@ -220,7 +220,7 @@ describe('Testing API Directives', () => { expect(await utils.isPresent('#openvidu-dialog')).toBeTrue(); }); - it('should run the app with VIDEO DISABLED in prejoin page', async () => { + fit('should run the app with VIDEO DISABLED in prejoin page', async () => { await browser.get(`${url}&prejoin=true&videoEnabled=false`); await utils.checkPrejoinIsPresent(); @@ -235,11 +235,11 @@ describe('Testing API Directives', () => { await utils.checkSessionIsPresent(); - await utils.waitForElement('#video-poster'); - expect(await utils.getNumberOfElements('video')).toEqual(0); - await utils.waitForElement('#videocam_off'); expect(await utils.isPresent('#videocam_off')).toBeTrue(); + + await utils.waitForElement('#video-poster'); + expect(await utils.getNumberOfElements('video')).toEqual(0); }); it('should run the app with VIDEO DISABLED and WITHOUT PREJOIN page', async () => {