bigbluebutton-Github/bigbluebutton-tests/playwright/sharednotes/util.js
2021-11-29 15:39:52 -03:00

11 lines
347 B
JavaScript

const { ELEMENT_WAIT_LONGER_TIME } = require('../core/constants');
const e = require('../core/elements');
async function startSharedNotes(test) {
await test.waitAndClick(e.sharedNotes);
await test.waitForSelector(e.hideNoteLabel, ELEMENT_WAIT_LONGER_TIME);
await test.hasElement(e.etherpad);
}
exports.startSharedNotes = startSharedNotes;