mirror of https://github.com/zulip/zulip.git
dae2a68ad9
This flake was happening since `wait_for_fully_processed_message` only checks if the `star` icon is displayed on the message but doesn't check for current narrow or waits for the narrow to change. Since narrow is changed to the message narrow after sending a message. If we don't wait for narrow to change, this narrow change can make the `get_current_msg_list_id` call return true for the wrong narrow change. Which causes message list id of the wrong message list to be returned and hence we cannot locate this message list id. To fix it, we check if sending this message will cause a narrow change and if true, we wait for the narrow to change before checking if the message is visible. |
||
---|---|---|
.. | ||
common.ts |