openvidu-components-e2e: Added sleep after open mat menu

pull/732/head
csantosm 2022-06-02 18:13:22 +02:00
parent 5d574fb3d2
commit 6e1783fb87
1 changed files with 2 additions and 0 deletions

View File

@ -243,6 +243,8 @@ describe('Testing API Directives', () => {
element = await browser.wait(until.elementLocated(By.id('more-options-btn')), TIMEOUT);
await element.click();
await browser.sleep(500);
// Checking if fullscreen button is not present
element = await browser.wait(until.elementLocated(By.className('mat-menu-content')), TIMEOUT);
expect(await element.isDisplayed()).to.be.true;