openvidu-components: Updated e2e test and Angular dependencies

pull/748/head
Carlos Santos 2022-10-07 16:32:03 +02:00
parent 98e0f20dc0
commit 356784d473
3 changed files with 1018 additions and 965 deletions

View File

@ -1,5 +1,5 @@
import { Builder, By, until, WebDriver } from 'selenium-webdriver';
import { expect } from 'chai';
import { Builder, By, until, WebDriver } from 'selenium-webdriver';
import { WebComponentConfig } from './selenium.conf';
const url = WebComponentConfig.appUrl;
@ -425,6 +425,7 @@ describe('Testing API Directives', () => {
it('should HIDE the PARTICIPANT NAME', async () => {
let element;
await browser.get(`${url}?prejoin=false&displayParticipantName=false`);
await browser.sleep(1000);
element = await browser.wait(until.elementLocated(By.id('session-container')), TIMEOUT);
expect(await element.isDisplayed()).to.be.true;
@ -440,6 +441,8 @@ describe('Testing API Directives', () => {
it('should HIDE the AUDIO DETECTION element', async () => {
let element;
await browser.get(`${url}?prejoin=false&displayAudioDetection=false`);
await browser.sleep(1000);
element = await browser.wait(until.elementLocated(By.id('session-container')), TIMEOUT);
expect(await element.isDisplayed()).to.be.true;
@ -455,6 +458,8 @@ describe('Testing API Directives', () => {
it('should HIDE the STREAM SETTINGS button', async () => {
let element;
await browser.get(`${url}?prejoin=false&settingsBtn=false`);
await browser.sleep(1000);
element = await browser.wait(until.elementLocated(By.id('session-container')), TIMEOUT);
expect(await element.isDisplayed()).to.be.true;

File diff suppressed because it is too large Load Diff

View File

@ -1,15 +1,15 @@
{
"dependencies": {
"@angular/animations": "13.0.0",
"@angular/cdk": "13.0.0",
"@angular/common": "13.0.0",
"@angular/core": "13.0.0",
"@angular/flex-layout": "13.0.0-beta.36",
"@angular/forms": "13.0.0",
"@angular/material": "13.0.0",
"@angular/platform-browser": "13.0.0",
"@angular/platform-browser-dynamic": "13.0.0",
"@angular/router": "13.0.0",
"@angular/animations": "13.3.9",
"@angular/cdk": "13.3.9",
"@angular/common": "13.3.9",
"@angular/core": "13.3.9",
"@angular/flex-layout": "13.0.0-beta.38",
"@angular/forms": "13.3.9",
"@angular/material": "13.3.9",
"@angular/platform-browser": "13.3.9",
"@angular/platform-browser-dynamic": "13.3.9",
"@angular/router": "13.3.9",
"autolinker": "3.14.3",
"lorem-ipsum": "^2.0.8",
"openvidu-browser": "2.23.0",
@ -18,11 +18,11 @@
"zone.js": "0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "13.2.5",
"@angular/cli": "13.0.1",
"@angular/compiler": "13.0.0",
"@angular/compiler-cli": "13.0.0",
"@angular/elements": "13.0.0",
"@angular-devkit/build-angular": "13.3.9",
"@angular/cli": "13.3.9",
"@angular/compiler": "13.3.9",
"@angular/compiler-cli": "13.3.9",
"@angular/elements": "13.3.9",
"@compodoc/compodoc": "^1.1.19",
"@types/chai": "4.3.0",
"@types/mocha": "9.1.0",