summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-01-02 15:13:53 +0100
committerJoas Schilling <coding@schilljs.com>2023-01-04 17:35:21 +0100
commitb45bb9b263950fd5b9575d4a3aee0bc105bfb2ca (patch)
treeff09d7f1840c1979a4e55da86389aef9a6d34a71 /tests
parentc87813021c95b24bbc4503ecb5a2d00bf7ed8c87 (diff)
Add an integration test for breakout room deletion
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/features/conversation/breakout-rooms.feature45
1 files changed, 45 insertions, 0 deletions
diff --git a/tests/integration/features/conversation/breakout-rooms.feature b/tests/integration/features/conversation/breakout-rooms.feature
index 93eaaf02f..c2e48bc32 100644
--- a/tests/integration/features/conversation/breakout-rooms.feature
+++ b/tests/integration/features/conversation/breakout-rooms.feature
@@ -517,6 +517,51 @@ Feature: conversation/breakout-rooms
And user "participant1" is participant of the following rooms (v4)
And user "participant2" is participant of the following rooms (v4)
+ Scenario: Deleting a single breakout room unassigned the students from the mapping
+ 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" adds user "participant3" to room "class room" with 200 (v4)
+ And user "participant1" adds user "participant4" 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 |
+ | users | participant3 | 3 |
+ | users | participant4 | 3 |
+ And user "participant1" creates 3 manual breakout rooms for "class room" with 200 (v1)
+ | users::participant2 | 0 |
+ | users::participant3 | 1 |
+ | users::participant4 | 2 |
+ And user "participant1" is participant of the following rooms (v4)
+ | type | name |
+ | 2 | class room |
+ | 2 | Room 1 |
+ | 2 | Room 2 |
+ | 2 | Room 3 |
+ And user "participant2" is participant of the following rooms (v4)
+ | type | name |
+ | 2 | class room |
+ | 2 | Room 1 |
+ And user "participant3" is participant of the following rooms (v4)
+ | type | name |
+ | 2 | class room |
+ | 2 | Room 2 |
+ And user "participant4" is participant of the following rooms (v4)
+ | type | name |
+ | 2 | class room |
+ | 2 | Room 3 |
+ When user "participant1" deletes room "Room 2" with 200 (v4)
+ Then user "participant1" is participant of the following rooms (v4)
+ | type | name |
+ | 2 | class room |
+ | 2 | Room 1 |
+ | 2 | Room 3 |
+ And user "participant3" is participant of the following rooms (v4)
+ | type | name |
+ | 2 | class room |
+
Scenario: Create an additional breakout room on the fly
Given user "participant1" creates room "class room" (v4)
| roomType | 2 |