summaryrefslogtreecommitdiff
path: root/chatroom.test
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2024-10-12 19:23:47 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2024-10-21 20:12:28 +0200
commit3fbe5a872a25831b779135e8cc6849aede2288a6 (patch)
treee072eeccb85e087ad49b23df35545b10bf8121b6 /chatroom.test
parent5ae58def2cd9e781af332a57266ae92385a6fb8b (diff)
(test) Chatroom: unsubscribe when leaving
Diffstat (limited to 'chatroom.test')
-rw-r--r--chatroom.test5
1 files changed, 4 insertions, 1 deletions
diff --git a/chatroom.test b/chatroom.test
index 93de1ff..deea2cb 100644
--- a/chatroom.test
+++ b/chatroom.test
@@ -413,9 +413,12 @@ test ChatroomMembers:
send "chatroom-leave $room1_p1" to p1
send "chatroom-leave $room1_p3" to p3
- for p in [ p1, p2, p3 ]:
+ for p in [ p1, p2 ]:
with p:
expect /chatroom-message-new [a-z0-9#]+ room first_room from Owner1 leave/
+
+ for p in [ p2, p3 ]:
+ with p:
expect /chatroom-message-new [a-z0-9#]+ room first_room from Owner3 leave/
send "chatroom-members $room1_p1" to p1