ov-components: Increase Jasmine default timeout interval to 60 seconds and remove obsolete test for BACKGROUND panel on prejoin page

master
Carlos Santos 2025-08-22 14:05:58 +02:00
parent dfb297a6d2
commit 82630f3508
2 changed files with 1 additions and 30 deletions

View File

@ -1,3 +1,3 @@
export const LAUNCH_MODE = process.env.LAUNCH_MODE || 'DEV';
jasmine.DEFAULT_TIMEOUT_INTERVAL = 30000;
jasmine.DEFAULT_TIMEOUT_INTERVAL = 60000;

View File

@ -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();