snapshot of https://github.com/jitsi/jitsi-meet.git @ fd1749dd28f4138aa80234fc7f311b19aaffa0e7 (2026-09-15)
This commit is contained in:
13
tests/specs/iframe/util.ts
Normal file
13
tests/specs/iframe/util.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import type { Participant } from '../../helpers/Participant';
|
||||
import { expectations } from '../../helpers/expectations';
|
||||
|
||||
export async function checkIframeApi(p: Participant) {
|
||||
const iframeEnabled = !await p.execute(() => config.disableIframeAPI);
|
||||
|
||||
expect(iframeEnabled).toBe(expectations.iframe.enabled);
|
||||
if (!iframeEnabled) {
|
||||
ctx.skipSuiteTests = 'The iFrame API is disabled';
|
||||
}
|
||||
|
||||
return iframeEnabled;
|
||||
}
|
||||
Reference in New Issue
Block a user