mirror of https://github.com/OpenVidu/openvidu.git
openvidu-components: Fixed e2e test
parent
f8812e615b
commit
3f2e7c711e
|
@ -1192,8 +1192,8 @@ describe('Testing stream video menu features', () => {
|
||||||
|
|
||||||
await utils.checkLayoutPresent();
|
await utils.checkLayoutPresent();
|
||||||
|
|
||||||
await utils.waitForElement('#stream-menu-btn');
|
await utils.waitForElement('#video-settings-btn-CAMERA');
|
||||||
await utils.clickOn('#stream-menu-btn');
|
await utils.clickOn('#video-settings-btn-CAMERA');
|
||||||
|
|
||||||
await browser.sleep(500);
|
await browser.sleep(500);
|
||||||
|
|
||||||
|
@ -1334,7 +1334,7 @@ describe('Testing screenshare features', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should screenshare has audio active when camera is muted', async () => {
|
it('should screenshare has audio active when camera is muted', async () => {
|
||||||
let element, isAudioEnabled;
|
let isAudioEnabled;
|
||||||
const audioEnableScript = 'return document.getElementsByTagName("video")[0].srcObject.getAudioTracks()[0].enabled;';
|
const audioEnableScript = 'return document.getElementsByTagName("video")[0].srcObject.getAudioTracks()[0].enabled;';
|
||||||
|
|
||||||
await browser.get(`${url}&prejoin=false`);
|
await browser.get(`${url}&prejoin=false`);
|
||||||
|
@ -1365,6 +1365,7 @@ describe('Testing screenshare features', () => {
|
||||||
|
|
||||||
// Unmuting camera
|
// Unmuting camera
|
||||||
await muteVideoButton.click();
|
await muteVideoButton.click();
|
||||||
|
await browser.sleep(500);
|
||||||
|
|
||||||
await utils.waitForElement('.camera-type');
|
await utils.waitForElement('.camera-type');
|
||||||
expect(await utils.getNumberOfElements('video')).equals(2);
|
expect(await utils.getNumberOfElements('video')).equals(2);
|
||||||
|
|
Loading…
Reference in New Issue