bigbluebutton-Github/bigbluebutton-html5/tests/puppeteer/tests-not-ready/page-hotkeys-test.js

16 lines
452 B
JavaScript

const Page = require('./page');
const HotkeysTestPage = require('./page-hotkeys');
test('Tests hotkeys: Options, User List, Leave/Join Audio, Mute/Unmute, Toggle Public Chat, Actions Menu, Status Menu', async () => {
const test = new HotkeysTestPage();
try {
await test.init(Page.getArgs());
await test.test();
await test.close();
} catch (e) {
console.log(e);
await test.close();
throw new Error('Test failed');
}
});