bigbluebutton-Github/bigbluebutton-tests/playwright/breakout/breakout.spec.js

41 lines
1.3 KiB
JavaScript
Raw Normal View History

2021-11-30 21:42:57 +08:00
const { test } = require('@playwright/test');
const { Create } = require('./create');
const { Join } = require('./join');
2021-11-30 21:42:57 +08:00
test.describe.parallel('Breakout', () => {
test('Create Breakout room @ci', async ({ browser, context, page }) => {
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 }) => {
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 }) => {
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 }) => {
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 }) => {
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
});