casper: Redirect to english url.

This commit is contained in:
Umair Khan 2016-12-15 16:43:08 +05:00 committed by Tim Abbott
parent 4155795a16
commit ab25cd7401
1 changed files with 8 additions and 0 deletions

View File

@ -257,6 +257,14 @@ casper.waitUntilVisible('#display-settings-status', function () {
casper.test.assertSelectorHasText('#display-settings-status', 'English is now the default language');
});
if (REALMS_HAVE_SUBDOMAINS) {
settings_url = 'http://zulip.zulipdev.com:9981/';
} else {
settings_url = 'http://zulipdev.com:9981/';
}
casper.thenOpen(settings_url);
// TODO: test the "Declare Zulip Bankruptcy option"
common.then_log_out();