bigbluebutton-Github/bigbluebutton-html5/tests/puppeteer/audio.test.js
2020-03-04 15:36:33 -03:00

32 lines
643 B
JavaScript

const Audio = require('./audio/audio');
describe('Audio', () => {
test('Join audio', async () => {
const test = new Audio();
let response;
try {
await test.init();
response = await test.test();
} catch (e) {
console.log(e);
} finally {
await test.close();
}
expect(response).toBe(true);
});
test('Mute the other User', async () => {
const test = new Audio();
let response;
try {
await test.init();
response = await test.mute();
} catch (e) {
console.log(e);
} finally {
await test.close();
}
expect(response).toBe(true);
});
});