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

40 lines
1.2 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', 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
});
test('Join Breakout room', 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
});