bigbluebutton-Github/bigbluebutton-tests/puppeteer/user/util.js
2021-09-22 10:23:51 -03:00

16 lines
423 B
JavaScript

const e = require('../core/elements');
async function setStatus(test, status) {
await test.waitAndClick(e.firstUser);
await test.waitAndClick(e.setStatus);
await test.waitAndClick(status);
}
async function connectionStatus(test) {
await test.waitAndClick(e.connectionStatusBtn);
await test.waitForSelector(e.connectionStatusModal);
}
exports.setStatus = setStatus;
exports.connectionStatus = connectionStatus;