summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-01-03 12:06:13 +0100
committerJoas Schilling <coding@schilljs.com>2023-01-04 17:35:24 +0100
commit95f22e96defaa49128a9fc31f5c791e549546dc3 (patch)
tree6ab2caa2092c3435563b07d2fc4b53c4e484a353 /tests
parent5d63a47b7d2416ece39fc702b101538860a94b3b (diff)
Prevent toggling guests or the lobby directly
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/features/conversation/breakout-rooms.feature20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/integration/features/conversation/breakout-rooms.feature b/tests/integration/features/conversation/breakout-rooms.feature
index 95ffdde7f..9de6fb2df 100644
--- a/tests/integration/features/conversation/breakout-rooms.feature
+++ b/tests/integration/features/conversation/breakout-rooms.feature
@@ -791,3 +791,23 @@ Feature: conversation/breakout-rooms
| type | name |
| 2 | class room |
| 2 | Room 2 |
+
+ Scenario: Can not change lobby status, allow or disallow guests in breakout rooms directly
+ Given user "participant1" creates room "class room" (v4)
+ | roomType | 2 |
+ | roomName | class room |
+ And user "participant1" sees the following attendees in room "class room" with 200 (v4)
+ | actorType | actorId | participantType |
+ | users | participant1 | 1 |
+ And user "participant1" creates 2 automatic breakout rooms for "class room" with 200 (v1)
+ And user "participant1" is participant of the following rooms (v4)
+ | type | name | lobbyState | breakoutRoomMode | breakoutRoomStatus |
+ | 2 | class room | 0 | 1 | 0 |
+ | 2 | Room 1 | 1 | 0 | 0 |
+ | 2 | Room 2 | 1 | 0 | 0 |
+ # Can not disable lobby
+ Then user "participant1" sets lobby state for room "Room 1" to "no lobby" with 400 (v4)
+ # Can not enable listing
+ And user "participant1" allows listing room "Room 1" for "all" with 400 (v4)
+ # Can not allow guests
+ And user "participant1" makes room "Room 1" public with 400 (v4)