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

18 lines
576 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');
2022-06-08 02:52:22 +08:00
test.describe.parallel('Whiteboard @ci', () => {
2021-11-23 05:51:16 +08:00
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
});