bigbluebutton-Github/bigbluebutton-tests/playwright/whiteboard/whiteboard.spec.js
2022-06-08 09:29:21 -03:00

18 lines
576 B
JavaScript

const { test } = require('@playwright/test');
const { Draw } = require('./draw');
const { MultiUsers } = require('../user/multiusers');
test.describe.parallel('Whiteboard @ci', () => {
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);
await multiusers.whiteboardAccess();
});
});