Files
upstream-jitsi-meet/tests/specs/misc/xmppConferenceRequest.spec.ts
upstream-mirror 1d2bfcac0c
Some checks failed
Prosody Plugin Tests / test (push) Failing after 10m11s
Close stale issues and PRs / stale (push) Failing after 1s
snapshot of https://github.com/jitsi/jitsi-meet.git @ fd1749dd28f4138aa80234fc7f311b19aaffa0e7 (2026-09-15)
2026-09-15 15:56:32 +05:00

37 lines
1.1 KiB
TypeScript

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,
skipPrejoinButtonClick: 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);
});
});