remove disconnectAudio selector
This commit is contained in:
parent
e9bae3745d
commit
4ed10376ea
@ -32,7 +32,6 @@ exports.isTalking = '[data-test="isTalking"]';
|
||||
exports.wasTalking = '[data-test="wasTalking"]';
|
||||
exports.joinAudio = 'button[data-test="joinAudio"]';
|
||||
exports.leaveAudio = 'button[data-test="leaveAudio"]';
|
||||
exports.disconnectAudio = 'li[data-test="disconnectAudio"]';
|
||||
exports.connectingStatus = 'div[class^="connecting--"]';
|
||||
exports.connecting = 'span[data-test="connecting"]';
|
||||
exports.connectingToEchoTest = 'span[data-test="connectingToEchoTest"]';
|
||||
|
@ -108,13 +108,11 @@ class Page {
|
||||
const parsedSettings = await this.getSettingsYaml();
|
||||
const listenOnlyCallTimeout = parseInt(parsedSettings.public.media.listenOnlyCallTimeout);
|
||||
await this.waitAndClick(e.leaveAudio, listenOnlyCallTimeout);
|
||||
await this.waitAndClick(e.disconnectAudio);
|
||||
}
|
||||
|
||||
// Leave audio
|
||||
async leaveAudio() {
|
||||
await this.waitAndClick(e.leaveAudio);
|
||||
await this.waitAndClick(e.disconnectAudio);
|
||||
await this.waitForSelector(e.joinAudio);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user