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): Make sure we give time dialog to submit password.
damencho80bf228a656c
diff --git a/tests/specs/2way/lockRoom.spec.ts b/tests/specs/2way/lockRoom.spec.tsindex 29f73cb4a1..395565f41e 100644--- a/tests/specs/2way/lockRoom.spec.ts+++ b/tests/specs/2way/lockRoom.spec.ts@@ -31,6 +31,9 @@ describe('Lock Room', () => {await p2PasswordDialog.waitForDialog();await p2PasswordDialog.submitPassword(`${ctx.roomKey}1234`);+ // give sometime to the password prompt to disappear and send the password+ await p2.driver.pause(500);+// wait for password promptawait p2PasswordDialog.waitForDialog();await p2PasswordDialog.submitPassword(ctx.roomKey);@@ -105,6 +108,9 @@ describe('Lock Room', () => {await p2PasswordDialog.waitForDialog();await p2PasswordDialog.submitPassword(`${ctx.roomKey}1234`);+ // give sometime to the password prompt to disappear and send the password+ await p2.driver.pause(500);+// wait for password promptawait p2PasswordDialog.waitForDialog();