From 82630f3508de4935e89d702c8dbb7206aae3317f Mon Sep 17 00:00:00 2001 From: Carlos Santos <4a.santos@gmail.com> Date: Fri, 22 Aug 2025 14:05:58 +0200 Subject: [PATCH] ov-components: Increase Jasmine default timeout interval to 60 seconds and remove obsolete test for BACKGROUND panel on prejoin page --- openvidu-components-angular/e2e/config.ts | 2 +- .../e2e/panels.test.ts | 29 ------------------- 2 files changed, 1 insertion(+), 30 deletions(-) diff --git a/openvidu-components-angular/e2e/config.ts b/openvidu-components-angular/e2e/config.ts index 0ab3f493..19c84336 100644 --- a/openvidu-components-angular/e2e/config.ts +++ b/openvidu-components-angular/e2e/config.ts @@ -1,3 +1,3 @@ export const LAUNCH_MODE = process.env.LAUNCH_MODE || 'DEV'; -jasmine.DEFAULT_TIMEOUT_INTERVAL = 30000; +jasmine.DEFAULT_TIMEOUT_INTERVAL = 60000; diff --git a/openvidu-components-angular/e2e/panels.test.ts b/openvidu-components-angular/e2e/panels.test.ts index 95779e5a..cd2e4609 100644 --- a/openvidu-components-angular/e2e/panels.test.ts +++ b/openvidu-components-angular/e2e/panels.test.ts @@ -29,35 +29,6 @@ describe('Panels: UI Navigation and Section Switching', () => { await browser.quit(); }); - fit('should close BACKGROUND panel on prejoin page when VIDEO is MUTED', async () => { - let element; - await browser.get(`${url}`); - await utils.checkPrejoinIsPresent(); - - const backgroundButton = await utils.waitForElement('#background-effects-btn'); - expect(await utils.isPresent('#background-effects-btn')).toBeTrue(); - expect(await backgroundButton.isEnabled()).toBeTrue(); - await backgroundButton.click(); - await browser.sleep(500); - - await utils.waitForElement('#background-effects-container'); - expect(await utils.isPresent('#background-effects-container')).toBeTrue(); - - element = await utils.waitForElement('#camera-button'); - expect(await utils.isPresent('#camera-button')).toBeTrue(); - expect(await element.isEnabled()).toBeTrue(); - await element.click(); - - await browser.sleep(500); - element = await utils.waitForElement('#video-poster'); - expect(await utils.isPresent('#video-poster')).toBeTrue(); - - expect(await backgroundButton.isDisplayed()).toBeTrue(); - expect(await backgroundButton.isEnabled()).toBeFalse(); - - expect(await utils.isPresent('#background-effects-container')).toBeFalse(); - }); - it('should open and close the CHAT panel and verify its content', async () => { await browser.get(`${url}&prejoin=false`); await utils.checkLayoutPresent();