2024-03-06 22:26:03 +08:00
|
|
|
const { test } = require('../fixtures');
|
2021-12-01 22:16:37 +08:00
|
|
|
const { Stress } = require('./stress.js');
|
|
|
|
|
|
|
|
test.describe.parallel('Stress', () => {
|
|
|
|
test.beforeEach(async () => test.setTimeout(0));
|
|
|
|
|
|
|
|
test('First moderator joining as presenter', async ({ browser, context, page }) => {
|
|
|
|
const stress = new Stress(browser, context, page);
|
|
|
|
await stress.moderatorAsPresenter();
|
|
|
|
});
|
|
|
|
|
2022-04-27 20:46:15 +08:00
|
|
|
test.fixme('All users must receive breakout room invitations', async ({ browser, context, page }) => {
|
2021-12-01 22:16:37 +08:00
|
|
|
const stress = new Stress(browser, context, page);
|
|
|
|
await stress.breakoutRoomInvitation();
|
|
|
|
});
|
2022-02-21 22:50:29 +08:00
|
|
|
|
|
|
|
test.describe.parallel('Joining users at the same time', () => {
|
|
|
|
test('Join 2 users (mod and attendee)', async ({ browser, context, page }) => {
|
|
|
|
const stress = new Stress(browser, context, page);
|
|
|
|
await stress.twoUsersJoinSameTime();
|
|
|
|
});
|
|
|
|
|
|
|
|
test('Join 2 users (mod and attendee) keeping the previous one connected', async ({ browser, context, page }) => {
|
|
|
|
const stress = new Stress(browser, context, page);
|
|
|
|
await stress.usersJoinKeepingConnected();
|
|
|
|
});
|
|
|
|
|
|
|
|
test('Join 2 users exceeding max participants limit', async ({ browser, context }) => {
|
|
|
|
const stress = new Stress(browser, context);
|
|
|
|
await stress.usersJoinExceddingParticipantsLimit();
|
|
|
|
});
|
|
|
|
});
|
2021-12-04 01:01:36 +08:00
|
|
|
});
|