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

19 lines
407 B
JavaScript
Raw Normal View History

2018-11-23 20:55:16 +08:00
const Page = require('./core/page');
const Status = require('./user/status');
describe('User', () => {
test('Change status', async () => {
const test = new Status();
let response;
try {
await test.init(Page.getArgs());
response = await test.test();
} catch (e) {
console.log(e);
} finally {
await test.close();
}
expect(response).toBe(true);
});
});