mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
tests: Delay loading old messages and starting get_updates until phantomjs thinks the page has loaded
This doesn't affect code when not in testing. It shaves 7 seconds off of casper test time on my machine. (imported from commit 7e27fa781bcf16f36d9c8f058427ba57c41068bd)
This commit is contained in:
committed by
Steve Howell
parent
f45f0b1df6
commit
bdee9721ec
@@ -493,7 +493,7 @@ exports.clear = function clear() {
|
||||
this.stored_messages = {};
|
||||
};
|
||||
|
||||
$(function () {
|
||||
util.execute_early(function () {
|
||||
// get the initial message list
|
||||
function load_more(messages) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user