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
test: Add a test for conference-request over XMPP. (#16838)
bgrozev3e469019b580
diff --git a/tests/specs/misc/xmppConferenceRequest.spec.ts b/tests/specs/misc/xmppConferenceRequest.spec.tsnew file mode 100644index 0000000000..db96f0905a--- /dev/null+++ b/tests/specs/misc/xmppConferenceRequest.spec.ts@@ -0,0 +1,35 @@+import { setTestProperties } from '../../helpers/TestProperties';+import { ensureOneParticipant } from '../../helpers/participants';++setTestProperties(__filename, {+ description: 'Test that conference requests work over XMPP',+ usesBrowsers: [ 'p1' ]+});++describe('XMPP Conference Request', () => {+ it('join with conferenceRequestUrl disabled', async () => {+ await ensureOneParticipant({+ skipWaitToJoin: true,+ configOverwrite: {+ prejoinConfig: {+ enabled: true+ }+ }+ });++ const { p1 } = ctx;++ // Update config before joining, because this option cannot be overridden with URL params.+ await p1.driver.execute(async () => {+ config.conferenceRequestUrl = '';+ APP.store.dispatch({+ type: 'OVERWRITE_CONFIG',+ config+ });+ });++ await p1.getPreJoinScreen().getJoinButton().click();+ await p1.waitForMucJoinedOrError();+ expect(await p1.isInMuc()).toBe(true);+ });+});diff --git a/tests/specs/moderation/lobby.spec.ts b/tests/specs/moderation/lobby.spec.tsindex c89cc76ea4..f1df35592f 100644--- a/tests/specs/moderation/lobby.spec.ts+++ b/tests/specs/moderation/lobby.spec.ts@@ -110,7 +110,6 @@ describe('Lobby', () => {await p3.waitForSendReceiveData();await p3.waitForRemoteStreams(2);- // now check third one display name in the room, is the one set in the prejoin screen// now check third one display name in the room, is the one set in the prejoin screenconst name = await p1.getFilmstrip().getRemoteDisplayName(await p3.getEndpointId());