diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2024-10-12 19:23:47 +0200 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2024-10-21 20:12:28 +0200 |
commit | 3fbe5a872a25831b779135e8cc6849aede2288a6 (patch) | |
tree | e072eeccb85e087ad49b23df35545b10bf8121b6 | |
parent | 5ae58def2cd9e781af332a57266ae92385a6fb8b (diff) |
(test) Chatroom: unsubscribe when leaving
-rw-r--r-- | chatroom.test | 5 |
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 |