bigbluebutton-Github/bigbluebutton-html5/tests/puppeteer/screenshare.test.js

19 lines
445 B
JavaScript
Raw Normal View History

const ShareScreen = require('./screenshare/screenshare');
2020-03-12 21:50:54 +08:00
const Page = require('./core/page');
describe('Screen Share', () => {
test('Share screen', async () => {
const test = new ShareScreen();
let response;
try {
await test.init(Page.getArgsWithVideo());
response = await test.test();
} catch (e) {
console.log(e);
} finally {
await test.close();
}
expect(response).toBe(true);
});
});