snapshot of https://github.com/jitsi/jitsi-meet.git @ fd1749dd28f4138aa80234fc7f311b19aaffa0e7 (2026-09-15)
This commit is contained in:
36
tests/specs/misc/xmppConferenceRequest.spec.ts
Normal file
36
tests/specs/misc/xmppConferenceRequest.spec.ts
Normal file
@@ -0,0 +1,36 @@
|
||||
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);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user