bigbluebutton-Github/bigbluebutton-tests/puppeteer/stress.obj.js

20 lines
602 B
JavaScript
Raw Normal View History

2021-08-10 04:36:16 +08:00
const Stress = require('./stress/stress.js');
const stressTest = () => {
// First moderator to join the meeting should be the presenter
test('First moderator joining as presenter', async () => {
const test = new Stress();
let response;
try {
const testName = 'firstModeratorAsPresenter';
await test.logger('begin of ', testName);
response = await test.moderatorAsPresenter(testName);
await test.logger('end of ', testName);
2021-08-26 22:13:18 +08:00
} catch (err) {
await test.logger(err);
2021-08-10 04:36:16 +08:00
}
expect(response).toBe(true);
});
};
module.exports = exports = stressTest;