summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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")