diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2024-03-23 13:27:46 +0100 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2024-03-23 16:49:28 +0100 |
commit | a5bf726260deb3476b803428f6cbe91a99f29a5e (patch) | |
tree | 4a81e045c7f0094aed1b0b436b9e8cc1e3424e76 | |
parent | ac9a488351e216fec6e163b8e0441c93945e6d0b (diff) |
(test) Chatroom shared type
-rw-r--r-- | chatroom.test | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/chatroom.test b/chatroom.test new file mode 100644 index 0000000..b63b01b --- /dev/null +++ b/chatroom.test @@ -0,0 +1,14 @@ +test LocalChatrooms: + spawn as p1 + with p1: + send "create-identity Device1 Owner1" + + send "chatroom-create first" + send "chatroom-create second" + + send "chatroom-list-local" + expect /chatroom-list-item [a-z0-9#]+ first/ + expect /chatroom-list-item [a-z0-9#]+ second/ + local: + expect /chatroom-list-(.*)/ capture done + guard (done == "done") |