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): Wait for the join button to disappear if it was there.
damencho62e0f09f98ea
diff --git a/tests/specs/3way/lobby.spec.ts b/tests/specs/3way/lobby.spec.tsindex ad2d4e7e54..e03f6551fd 100644--- a/tests/specs/3way/lobby.spec.ts+++ b/tests/specs/3way/lobby.spec.ts@@ -479,8 +479,12 @@ async function enterLobby(participant: Participant, enterDisplayName = false, usawait screen.waitToJoinLobby();// check no join button- expect(!await joinButton.isExisting() || !await joinButton.isDisplayed() || !await joinButton.isEnabled())- .toBe(true);+ await p3.driver.waitUntil(+ async () => !await joinButton.isExisting() || !await joinButton.isDisplayed() || !await joinButton.isEnabled(),+ {+ timeout: 2_000,+ timeoutMsg: 'Join button is still available for p3'+ });// new screen, is password button shownconst passwordButton = screen.getPasswordButton();