diff options
author | Joas Schilling <coding@schilljs.com> | 2022-12-12 13:04:30 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2023-01-04 17:35:20 +0100 |
commit | 616a0cb202cffbea53da7b5a8f1bfed97ef70af7 (patch) | |
tree | f9486746409761acb0935c56d34cf89503c85890 /tests | |
parent | ff782dbfde14a263d73de87641989ccb15c396cf (diff) |
Delete breakout rooms when deleting the parent
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/features/conversation/breakout-rooms.feature | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/integration/features/conversation/breakout-rooms.feature b/tests/integration/features/conversation/breakout-rooms.feature index 31b1870cd..c05185f7c 100644 --- a/tests/integration/features/conversation/breakout-rooms.feature +++ b/tests/integration/features/conversation/breakout-rooms.feature @@ -492,3 +492,27 @@ Feature: conversation/breakout-rooms | 2 | Room 1 | And user "participant1" starts breakout rooms in room "class room" with 200 (v1) When user "participant2" switches in room "class room" to breakout room "Room 1" with 400 (v1) + + Scenario: Deleting the parent also deletes all breakout rooms + Given user "participant1" creates room "class room" (v4) + | roomType | 2 | + | roomName | class room | + And user "participant1" adds user "participant2" to room "class room" with 200 (v4) + And user "participant1" sees the following attendees in room "class room" with 200 (v4) + | actorType | actorId | participantType | + | users | participant1 | 1 | + | users | participant2 | 3 | + And user "participant1" creates 2 automatic breakout rooms for "class room" with 200 (v1) + | users::participant2 | 0 | + 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 | + And user "participant2" is participant of the following rooms (v4) + | type | name | + | 2 | class room | + | 2 | Room 1 | + When user "participant1" deletes room "class room" with 200 (v4) + And user "participant1" is participant of the following rooms (v4) + And user "participant2" is participant of the following rooms (v4) |