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

13 lines
375 B
JavaScript
Raw Normal View History

const elements = require('../elements');
async function setStatus(page, status) {
await page.waitForSelector(elements.firstUser);
await page.click(elements.firstUser);
await page.waitForSelector(elements.setStatus);
await page.click(elements.setStatus);
await page.waitForSelector(status);
await page.click(status);
}
2021-11-03 06:50:20 +08:00
exports.setStatus = setStatus;