mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
test: Ensure that member is added before yielding chat
This commit is contained in:
@@ -606,8 +606,10 @@ class ACFactory:
|
|||||||
qr = chat.get_join_qr()
|
qr = chat.get_join_qr()
|
||||||
ac2.qr_join_chat(qr)
|
ac2.qr_join_chat(qr)
|
||||||
setupplugin.member_added.wait(timeout=30)
|
setupplugin.member_added.wait(timeout=30)
|
||||||
ac2.wait_next_incoming_message()
|
msg = ac2.wait_next_incoming_message()
|
||||||
ac2.wait_next_incoming_message()
|
assert msg.text == "Messages are guaranteed to be end-to-end encrypted from now on."
|
||||||
|
msg = ac2.wait_next_incoming_message()
|
||||||
|
assert "Member Me " in msg.text and " added by " in msg.text
|
||||||
return chat
|
return chat
|
||||||
|
|
||||||
def introduce_each_other(self, accounts, sending=True):
|
def introduce_each_other(self, accounts, sending=True):
|
||||||
|
|||||||
Reference in New Issue
Block a user