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
feat(tests): Adds check for name on join/leave webhooks.
damencho153f67d852a1
diff --git a/tests/specs/2way/iFrameApiParticipantsPresence.spec.ts b/tests/specs/2way/iFrameApiParticipantsPresence.spec.tsindex bdfabcdec4..7aa835b1b1 100644--- a/tests/specs/2way/iFrameApiParticipantsPresence.spec.ts+++ b/tests/specs/2way/iFrameApiParticipantsPresence.spec.ts@@ -17,6 +17,7 @@ async function checkParticipantLeftHook(p: Participant, reason: string) {conference: string;disconnectReason: string;isBreakout: boolean;+ name: string;participantId: string;};eventType: string;@@ -27,6 +28,7 @@ async function checkParticipantLeftHook(p: Participant, reason: string) {expect(event.data.disconnectReason).toBe(reason);expect(event.data.isBreakout).toBe(false);expect(event.data.participantId).toBe(await p.getEndpointId());+ expect(event.data.name).toBe(p.displayName);}}@@ -290,6 +292,7 @@ describe('Participants presence', () => {expect(event.data.moderator).toBe(false);expect(event.data.name).toBe(await p2.getLocalDisplayName());expect(event.data.participantId).toBe(await p2.getEndpointId());+ expect(event.data.name).toBe(p2.displayName);}await p1.switchToAPI();