bigbluebutton-Github/bigbluebutton-html5/tests/puppeteer/user.test.js
2020-02-18 15:52:07 -03:00

34 lines
762 B
JavaScript

const Page = require('./core/page');
const Status = require('./user/status');
const MultiUsers = require('./user/multiusers');
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);
});
test('Multi user presence check', async () => {
const test = new MultiUsers();
let response;
try {
await test.init();
response = await test.test();
} catch (err) {
console.log(err);
} finally {
await test.close();
}
expect(response).toBe(true);
});
});