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

18 lines
572 B
JavaScript
Raw Normal View History

2021-11-23 05:51:16 +08:00
const { test } = require('@playwright/test');
const { Draw } = require('./draw');
2021-11-23 05:51:16 +08:00
const { MultiUsers } = require('../user/multiusers');
test.describe.parallel('Whiteboard', () => {
test('Draw rectangle', async ({ browser, page }) => {
const draw = new Draw(browser, page);
await draw.init(true, true);
await draw.test();
})
test('Give Additional Whiteboard Access', async ({ browser, context, page }) => {
const multiusers = new MultiUsers(browser, context);
await multiusers.initPages(page);
2021-11-23 05:51:16 +08:00
await multiusers.whiteboardAccess();
});
2021-12-04 01:01:36 +08:00
});