minor: Move then_log_in next to then_log_out.

This commit is contained in:
Steve Howell
2020-03-31 13:03:34 +00:00
committed by showell
parent 3dde4a70d2
commit dd8958e0cd

View File

@@ -90,12 +90,6 @@ exports.initialize_casper = function () {
});
};
exports.then_log_in = function () {
casper.then(function () {
log_in();
});
};
exports.start_and_log_in = function () {
var log_in_url = "http://zulip.zulipdev.com:9981/accounts/login/";
exports.init_viewport();
@@ -113,6 +107,12 @@ exports.then_click = function (selector) {
});
};
exports.then_log_in = function () {
casper.then(function () {
log_in();
});
};
exports.then_log_out = function () {
var menu_selector = '#settings-dropdown';
var logout_selector = 'a[href="#logout"]';