summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2024-03-23 13:27:46 +0100
committerRoman Smrž <roman.smrz@seznam.cz>2024-03-23 16:49:28 +0100
commita5bf726260deb3476b803428f6cbe91a99f29a5e (patch)
tree4a81e045c7f0094aed1b0b436b9e8cc1e3424e76
parentac9a488351e216fec6e163b8e0441c93945e6d0b (diff)
(test) Chatroom shared type
-rw-r--r--chatroom.test14
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")