From 00d296e1ffcaaf5c3cbcbad3efc128f1a5c7c4b3 Mon Sep 17 00:00:00 2001 From: link2xt Date: Thu, 17 Oct 2024 15:10:55 +0000 Subject: [PATCH] test(test_aeap_flow_verified): wait for "member added" before sending messages (#6057) Otherwise instead of "old address" ac2 may receive "member added", resulting in this failure: ``` > assert msg_in_1.text == msg_out.text E AssertionError: assert 'Member Me (c...hat.computer.' == 'old address' E - old address E + Member Me (ci-hfpxxe@***) added by ci-8e7mkr@***. ``` --- deltachat-rpc-client/tests/test_securejoin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/deltachat-rpc-client/tests/test_securejoin.py b/deltachat-rpc-client/tests/test_securejoin.py index 70dcdb60a..4a5421bc2 100644 --- a/deltachat-rpc-client/tests/test_securejoin.py +++ b/deltachat-rpc-client/tests/test_securejoin.py @@ -467,6 +467,7 @@ def test_aeap_flow_verified(acfactory): logging.info("ac2: start QR-code based join-group protocol") ac2.secure_join(qr_code) ac1.wait_for_securejoin_inviter_success() + ac2.wait_for_securejoin_joiner_success() logging.info("sending first message") msg_out = chat.send_text("old address").get_snapshot()