diff --git a/tests/live_rc/test_03_move_request.py b/tests/live_rc/test_03_move_request.py index 302717b..ce5dcc6 100644 --- a/tests/live_rc/test_03_move_request.py +++ b/tests/live_rc/test_03_move_request.py @@ -93,8 +93,13 @@ def test_03_move_request( "Test 03: sent /reset to source room (msg %s) — clearing sticky topics", _reset_msg_id[:12], ) - # Give the bot 3 seconds to process /reset before posting the keyword - time.sleep(3.0) + # Give the bot 5 seconds to process /reset AND send its response + # before posting the keyword. The /reset response ("Konversation + # zurückgesetzt...") must arrive BEFORE the keyword post so that + # source_cursor (from the keyword post_message return) sits AFTER + # the /reset response. Otherwise wait_for_bot_message picks up the + # /reset response as a "move-request" and the assertion fails. + time.sleep(5.0) # Step 1: Post keyword message in source room. # SKIP separate get_latest_timestamp — use the timestamp from post_message