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): Skip iframeAPI if it is disabled.

damencho2093ef1ea26b
diff --git a/tests/specs/2way/iFrameApiParticipantsPresence.spec.ts b/tests/specs/2way/iFrameApiParticipantsPresence.spec.ts
index c24260d762..bdfabcdec4 100644
--- a/tests/specs/2way/iFrameApiParticipantsPresence.spec.ts
+++ b/tests/specs/2way/iFrameApiParticipantsPresence.spec.ts
@@ -37,6 +37,13 @@ describe('Participants presence', () => {
const { p1, p2, webhooksProxy } = ctx;
+ if (await p1.execute(() => config.disableIframeAPI)) {
+ // skip the test if iframeAPI is disabled
+ ctx.skipSuiteTests = true;
+
+ return;
+ }
+
// let's populate endpoint ids
await Promise.all([
p1.getEndpointId(),