Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(tests): Adds some debug prints for a case reporting failure to leave.
damencho1f2aaa8dc07a
diff --git a/tests/helpers/Participant.ts b/tests/helpers/Participant.tsindex 7438c5bcbb..91afad0c08 100644--- a/tests/helpers/Participant.ts+++ b/tests/helpers/Participant.ts@@ -617,10 +617,17 @@ export class Participant {// let's give it some time to leave the muc, we redirect after hangup so we should wait for the// change of urlawait this.driver.waitUntil(- async () => current !== await this.driver.getUrl(),+ async () => {+ const u = await this.driver.getUrl();++ // trying to debug some failures of reporting not leaving, where we see the close page in screenshot+ console.log(`initialUrl: ${current} currentUrl: ${u}`);++ return current !== u;+ },{timeout: 8000,- timeoutMsg: `${this.name} did not leave the muc in 8s`+ timeoutMsg: `${this.name} did not leave the muc in 8s initialUrl: ${current}`});