Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(tests): join the pipSetting spec as moderator

damencho4e93d2f1f40c
diff --git a/tests/specs/iframe/pipSetting.spec.ts b/tests/specs/iframe/pipSetting.spec.ts
index 8df9a59275..bde4e01f43 100644
--- a/tests/specs/iframe/pipSetting.spec.ts
+++ b/tests/specs/iframe/pipSetting.spec.ts
@@ -1,5 +1,6 @@
import type { Participant } from '../../helpers/Participant';
import { setTestProperties } from '../../helpers/TestProperties';
+import { config as testsConfig } from '../../helpers/TestsConfig';
import { joinMuc } from '../../helpers/joinMuc';
import { checkIframeApi } from './util';
@@ -15,7 +16,7 @@ describe('Picture-in-Picture setting when embedded', () => {
let p1: Participant;
it('joining the meeting', async () => {
- p1 = await joinMuc({ name: 'p1', iFrameApi: true }, {
+ p1 = await joinMuc({ name: 'p1', iFrameApi: true, token: testsConfig.jwt.preconfiguredToken }, {
configOverwrite: {
pip: {
enableBrowserPiP: true,