mirror of
https://github.com/zulip/zulip.git
synced 2025-11-16 20:02:15 +00:00
Add explicit message field for locally_echoed.
We now set locally_echoed to true for messages that are locally echoed, and we change some of our code to look for this flag.
This commit is contained in:
@@ -189,7 +189,7 @@ exports.check_form = function (form_selector, expected, test_name) {
|
||||
exports.wait_for_message_actually_sent = function () {
|
||||
casper.waitFor(function () {
|
||||
return casper.evaluate(function () {
|
||||
return current_msg_list.last().local_id === undefined;
|
||||
return !current_msg_list.last().locally_echoed;
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user