bigbluebutton-Github/bigbluebutton-tests/playwright/user/util.js

13 lines
333 B
JavaScript
Raw Normal View History

2021-11-18 04:07:14 +08:00
const e = require('../core/elements');
async function setStatus(page, status) {
2021-11-18 04:07:14 +08:00
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);
}
2021-12-04 01:01:36 +08:00
exports.setStatus = setStatus;