Skip to content
Snippets Groups Projects
Commit 5769acd8 authored by browniecab's avatar browniecab Committed by Maxim Khlobystov
Browse files

Update joining a meeting without audio

(cherry picked from commit 4ff9a1408d5bb00be361d9843afb04dc3d4354e2)
parent 0dfcae35
No related branches found
No related tags found
No related merge requests found
exports.audioDialog = '[aria-label="Modal"]';
exports.closeAudio = '[aria-label="Close"]';
exports.audioDialog = '.ReactModal__Content[aria-label="Modal"]';
exports.closeAudio = 'button[aria-label="Close"]';
exports.microphoneButton = 'button[aria-label="Microphone"]'
exports.listenButton = 'button[aria-label="Listen Only"]';
exports.echoYes = 'button[aria-label="Echo is audible"]';
......
......@@ -79,8 +79,11 @@ class Page
// Joins a BigBlueButton meeting without audio
async joinWithoutAudio()
{
console.log("Waiting for buttons");
await this.page.waitFor(e.listenButton);
await this.page.waitFor(e.closeAudio);
await this.page.click(e.closeAudio);
console.log("Waiting for dialog to close");
await this.elementRemoved(e.audioDialog);
console.log("Joined meeting without audio");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment