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

11 lines
347 B
JavaScript
Raw Normal View History

2021-11-30 02:39:52 +08:00
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;