mirror of https://github.com/zulip/zulip.git
casper: Redirect to english url.
This commit is contained in:
parent
4155795a16
commit
ab25cd7401
|
@ -257,6 +257,14 @@ casper.waitUntilVisible('#display-settings-status', function () {
|
||||||
casper.test.assertSelectorHasText('#display-settings-status', 'English is now the default language');
|
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"
|
// TODO: test the "Declare Zulip Bankruptcy option"
|
||||||
|
|
||||||
common.then_log_out();
|
common.then_log_out();
|
||||||
|
|
Loading…
Reference in New Issue