bigbluebutton-Github/bigbluebutton-html5/tests/puppeteer/tests-not-ready/page-hotkeys-mic-first-test.js
browniecab b5bd5754a1 Use Jest for running tests
(cherry picked from commit d82cef50e99e9da6f0d6b94f2bd950bf063d6400)
2018-10-03 13:45:28 -04:00

19 lines
507 B
JavaScript

const Page = require('./page');
const HotkeysMicFirstTestPage = require('./page-hotkeys-mic-first');
test("Tests hotkeys when a user first joins a meeting with a microphone: Leaving audio, rejoining as Listen Only, then rejoining with microphone", async () =>
{
var test = new HotkeysMicFirstTestPage();
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");
}
});