Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

feat(tests): Bumps time waiting for breakout rooms update.

damencho070991d7ef2a
diff --git a/tests/specs/3way/breakoutRooms.spec.ts b/tests/specs/3way/breakoutRooms.spec.ts
index af77a75364..63dded1056 100644
--- a/tests/specs/3way/breakoutRooms.spec.ts
+++ b/tests/specs/3way/breakoutRooms.spec.ts
@@ -34,7 +34,7 @@ describe('BreakoutRooms', () => {
await p1.driver.waitUntil(
async () => await p1BreakoutRooms.getRoomsCount() === 1, {
- timeout: 2000,
+ timeout: 3000,
timeoutMsg: 'No breakout room added for p1'
});
@@ -42,7 +42,7 @@ describe('BreakoutRooms', () => {
// second participant should also see one breakout room
await p2.driver.waitUntil(
async () => await p2.getBreakoutRooms().getRoomsCount() === 1, {
- timeout: 2000,
+ timeout: 3000,
timeoutMsg: 'No breakout room seen by p2'
});
});
@@ -54,7 +54,7 @@ describe('BreakoutRooms', () => {
// there should be one breakout room
await p1.driver.waitUntil(
async () => await p1BreakoutRooms.getRoomsCount() === 1, {
- timeout: 1000,
+ timeout: 3000,
timeoutMsg: 'No breakout room seen by p1'
});
@@ -80,7 +80,7 @@ describe('BreakoutRooms', () => {
return list[0].name === MAIN_ROOM_NAME;
}, {
- timeout: 2000,
+ timeout: 5000,
timeoutMsg: 'P1 did not join breakout room'
});
@@ -95,7 +95,7 @@ describe('BreakoutRooms', () => {
return list[0].participantCount === 1;
}, {
- timeout: 2000,
+ timeout: 3000,
timeoutMsg: 'P2 is not seeing p1 in the breakout room'
});
});
@@ -122,7 +122,7 @@ describe('BreakoutRooms', () => {
return list[0].name !== MAIN_ROOM_NAME;
}, {
- timeout: 2000,
+ timeout: 5000,
timeoutMsg: 'P1 did not leave breakout room'
});
@@ -137,7 +137,7 @@ describe('BreakoutRooms', () => {
return list[0].participantCount === 0;
}, {
- timeout: 2000,
+ timeout: 3000,
timeoutMsg: 'P2 is seeing p1 in the breakout room'
});
});
@@ -152,14 +152,14 @@ describe('BreakoutRooms', () => {
// there should be no breakout rooms
await p1.driver.waitUntil(
async () => await p1BreakoutRooms.getRoomsCount() === 0, {
- timeout: 2000,
+ timeout: 3000,
timeoutMsg: 'Breakout room was not removed for p1'
});
// the second participant should also see no breakout rooms
await p2.driver.waitUntil(
async () => await p2.getBreakoutRooms().getRoomsCount() === 0, {
- timeout: 2000,
+ timeout: 3000,
timeoutMsg: 'Breakout room was not removed for p2'
});
});
@@ -176,7 +176,7 @@ describe('BreakoutRooms', () => {
// there should be two breakout rooms
await p1.driver.waitUntil(
async () => await p1BreakoutRooms.getRoomsCount() === 2, {
- timeout: 2000,
+ timeout: 3000,
timeoutMsg: 'Breakout room was not created by p1'
});
@@ -198,7 +198,7 @@ describe('BreakoutRooms', () => {
return list[0].participantCount === 1 && list[1].participantCount === 1;
}, {
- timeout: 2000,
+ timeout: 5000,
timeoutMsg: 'P1 did not auto assigned participants to breakout rooms'
});
@@ -220,7 +220,7 @@ describe('BreakoutRooms', () => {
return list[0].participantCount === 1 && list[1].participantCount === 1
&& (list[0].name === MAIN_ROOM_NAME || list[1].name === MAIN_ROOM_NAME);
}, {
- timeout: 2000,
+ timeout: 3000,
timeoutMsg: 'P2 is not seeing p1 in the main room'
});
});
@@ -244,7 +244,7 @@ describe('BreakoutRooms', () => {
return list[0].participantCount === 1 && list[1].participantCount === 1;
}, {
- timeout: 2000,
+ timeout: 3000,
timeoutMsg: 'P1 is not seeing two breakout rooms'
});
@@ -266,7 +266,7 @@ describe('BreakoutRooms', () => {
return list[0].participantCount === 0 || list[1].participantCount === 0;
}, {
- timeout: 2000,
+ timeout: 5000,
timeoutMsg: 'P1 is not seeing an empty breakout room'
});
@@ -305,7 +305,7 @@ describe('BreakoutRooms', () => {
return list[0].participantCount + list[1].participantCount === 1;
}, {
- timeout: 2000,
+ timeout: 3000,
timeoutMsg: `${p.name} is not seeing an empty breakout room and one with one participant`
});
@@ -335,7 +335,7 @@ describe('BreakoutRooms', () => {
await p1.driver.waitUntil(
async () => await p1BreakoutRooms.getRoomsCount() === 1
&& (await p1BreakoutRooms.getRooms())[0].participantCount === 0, {
- timeout: 2000,
+ timeout: 3000,
timeoutMsg: 'No breakout room added for p1'
});
@@ -353,7 +353,7 @@ describe('BreakoutRooms', () => {
return list[0].participantCount === 1;
}, {
- timeout: 2000,
+ timeout: 5000,
timeoutMsg: 'P1 is not seeing p2 in the breakout room'
});
});
@@ -373,7 +373,7 @@ describe('BreakoutRooms', () => {
return list[0].participantCount === 1;
}, {
- timeout: 2000,
+ timeout: 3000,
timeoutMsg: 'P1 is not seeing p2 in the breakout room'
});
@@ -419,7 +419,7 @@ describe('BreakoutRooms', () => {
return list[0].name === myNewRoomName;
}, {
- timeout: 2000,
+ timeout: 3000,
timeoutMsg: 'The breakout room was not renamed for p1'
});
@@ -441,7 +441,7 @@ describe('BreakoutRooms', () => {
return list[0].participantCount === 0;
}, {
- timeout: 2000,
+ timeout: 3000,
timeoutMsg: 'The breakout room not found or not empty for p1'
});
@@ -471,7 +471,7 @@ describe('BreakoutRooms', () => {
return list[0].participantCount === 1;
}, {
- timeout: 2000,
+ timeout: 5000,
timeoutMsg: 'The breakout room was not rename for p1'
});