bigbluebutton-Github/bigbluebutton-html5/tests/puppeteer/page-status.test.js

16 lines
385 B
JavaScript

const Page = require('./page');
const StatusTestPage = require('./page-status');
test("Tests setting/changing/clearing a user's status", async () => {
const test = new StatusTestPage();
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');
}
});