summaryrefslogtreecommitdiff
path: root/chatroom.test
blob: b63b01bccfb8ae3b57aceb55d614c7742f8401fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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")