bigbluebutton-Github/bigbluebutton-tests/playwright/audio/audio.spec.js
2022-07-25 16:42:48 -03:00

19 lines
674 B
JavaScript

const { test } = require('@playwright/test');
const { Audio } = require('./audio');
test.describe.parallel('Audio', () => {
// https://docs.bigbluebutton.org/2.6/release-tests.html#listen-only-mode-automated
test('Join audio with Listen Only @ci', async ({ browser, page }) => {
const audio = new Audio(browser, page);
await audio.init(true, false);
await audio.joinAudio();
});
// https://docs.bigbluebutton.org/2.6/release-tests.html#join-audio-automated
test('Join audio with Microphone @ci', async ({ browser, page }) => {
const audio = new Audio(browser, page);
await audio.init(true, false);
await audio.joinMicrophone();
});
});