mirror of https://github.com/OpenVidu/openvidu.git
ov-components: add error logging and screenshot capture on room leave failure
parent
dfae82d4cf
commit
5f9fb06c2a
|
@ -26,7 +26,10 @@ describe('Testing videoconference EVENTS', () => {
|
||||||
try {
|
try {
|
||||||
// leaving room if connected
|
// leaving room if connected
|
||||||
await utils.leaveRoom();
|
await utils.leaveRoom();
|
||||||
} catch (error) {}
|
} catch (error) {
|
||||||
|
console.error('Error leaving room:', error);
|
||||||
|
}
|
||||||
|
console.log('data:image/png;base64,' + (await browser.takeScreenshot()));
|
||||||
await browser.quit();
|
await browser.quit();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,6 @@ export class CallComponent implements OnInit {
|
||||||
tokenError: string | undefined;
|
tokenError: string | undefined;
|
||||||
isSessionAlive: boolean = false;
|
isSessionAlive: boolean = false;
|
||||||
configReady: boolean = false;
|
configReady: boolean = false;
|
||||||
|
|
||||||
minimal: boolean = false;
|
minimal: boolean = false;
|
||||||
lang: string = 'es';
|
lang: string = 'es';
|
||||||
langOptions: LangOption[] = [
|
langOptions: LangOption[] = [
|
||||||
|
|
Loading…
Reference in New Issue