bigbluebutton-Github/bigbluebutton-tests/playwright/user/util.js
2021-11-18 16:20:11 -03:00

12 lines
332 B
JavaScript

const e = require('../core/elements');
async function setStatus(page, status) {
await page.waitForSelector(e.firstUser);
await page.click(e.firstUser);
await page.waitForSelector(e.setStatus);
await page.click(e.setStatus);
await page.waitForSelector(status);
await page.click(status);
}
exports.setStatus = setStatus;