From ab25cd740174e2172758c41616ae77694561165e Mon Sep 17 00:00:00 2001 From: Umair Khan Date: Thu, 15 Dec 2016 16:43:08 +0500 Subject: [PATCH] casper: Redirect to english url. --- frontend_tests/casper_tests/06-settings.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/frontend_tests/casper_tests/06-settings.js b/frontend_tests/casper_tests/06-settings.js index 60cdef6aea..0da36f7ebe 100644 --- a/frontend_tests/casper_tests/06-settings.js +++ b/frontend_tests/casper_tests/06-settings.js @@ -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();