2021-11-30 21:42:57 +08:00
|
|
|
const { test } = require('@playwright/test');
|
2021-12-02 12:12:14 +08:00
|
|
|
const { Create } = require('./create');
|
|
|
|
const { Join } = require('./join');
|
2021-11-30 21:42:57 +08:00
|
|
|
|
|
|
|
test.describe.parallel('Breakout', () => {
|
2022-09-10 00:54:50 +08:00
|
|
|
test.only('Create Breakout room @ci', async ({ browser, context, page }) => {
|
2021-12-02 12:12:14 +08:00
|
|
|
const create = new Create(browser, context);
|
|
|
|
await create.initPages(page);
|
|
|
|
await create.create();
|
2021-11-30 21:42:57 +08:00
|
|
|
});
|
|
|
|
|
2022-07-26 03:42:48 +08:00
|
|
|
// https://docs.bigbluebutton.org/2.6/release-tests.html#moderators-creating-breakout-rooms-and-assiging-users-automated
|
2022-06-08 02:52:22 +08:00
|
|
|
test('Join Breakout room @ci', async ({ browser, context, page }) => {
|
2021-12-02 12:12:14 +08:00
|
|
|
const join = new Join(browser, context);
|
|
|
|
await join.initPages(page);
|
|
|
|
await join.create()
|
|
|
|
await join.joinRoom();
|
2021-11-30 21:42:57 +08:00
|
|
|
});
|
|
|
|
|
|
|
|
test('Join Breakout room and share webcam', async ({ browser, context, page }) => {
|
2021-12-02 12:12:14 +08:00
|
|
|
const join = new Join(browser, context);
|
|
|
|
await join.initPages(page);
|
|
|
|
await join.create()
|
|
|
|
await join.joinAndShareWebcam();
|
2021-11-30 21:42:57 +08:00
|
|
|
});
|
|
|
|
|
|
|
|
test('Join Breakout room and share screen', async ({ browser, context, page }) => {
|
2021-12-02 12:12:14 +08:00
|
|
|
const join = new Join(browser, context);
|
|
|
|
await join.initPages(page);
|
|
|
|
await join.create();
|
|
|
|
await join.joinAndShareScreen();
|
2021-11-30 21:42:57 +08:00
|
|
|
});
|
|
|
|
|
|
|
|
test('Join Breakout room with Audio', async ({ browser, context, page }) => {
|
2021-12-02 12:12:14 +08:00
|
|
|
const join = new Join(browser, context);
|
|
|
|
await join.initPages(page);
|
|
|
|
await join.create();
|
|
|
|
await join.joinWithAudio();
|
2021-11-30 21:42:57 +08:00
|
|
|
});
|
2021-12-04 01:01:36 +08:00
|
|
|
});
|