zulip/frontend_tests/casper_tests
Mateusz Mandera d70e1bcdb7 settings: Add FAKE_EMAIL_DOMAIN setting.
Fixes #9401.

This adds a FAKE_EMAIL_DOMAIN setting, which should be used if
EXTERNAL_HOST is not a valid domain, and something else is needed to
form bot and dummy user emails (if email visibility is turned off).
It defaults to EXTERNAL_HOST.

get_fake_email_domain() should be used to get this value. It validates
that it's correctly set - that it can be used to form valid emails.

If it's not set correctly, an exception is raised. This is the right
approach, because it's undesirable to have the server seemingly
peacefully operating with that setting misconfigured, as that could
mask some hidden sneaky bugs due to UserProfiles with invalid emails,
which would blow up the moment some code that does validate the emails
is called.
2019-08-30 14:59:00 -07:00
..
00-realm-creation.js casper: Fix test broken by recent signup refactor. 2018-12-10 16:55:07 -08:00
01-login.js Avoid double redirects to /login and then to /login/. 2018-12-04 16:12:58 -08:00
02-site.js eslint: Add key-spacing linter rule. 2018-12-18 10:41:06 -08:00
03-narrow.js narrow: Fix broken narrows for invalid email IDs. 2019-06-28 17:06:20 -07:00
04-compose.js populate_db: Extract internal realm creation into a function. 2019-08-23 12:57:24 -07:00
05-subscriptions.js js: Fix indentation issues in casper tests. 2018-05-06 19:35:18 -07:00
06-settings.js settings: Add FAKE_EMAIL_DOMAIN setting. 2019-08-30 14:59:00 -07:00
07-stars.js eslint: Add key-spacing linter rule. 2018-12-18 10:41:06 -08:00
08-edit.js jQuery: Replace positional selectors at the end of multiple selectors. 2019-06-06 15:21:26 -07:00
09-navigation.js Add stream ids to urls for stream-related narrows. 2018-02-19 09:03:11 -08:00
10-admin.js tests: Adjust to new changes in populate_db. 2019-07-31 16:01:37 -07:00
11-mention.js eslint: Add key-spacing linter rule. 2018-12-18 10:41:06 -08:00
12-toggle-message-editing.js jQuery: Replace positional selectors at the end of multiple selectors. 2019-06-06 15:21:26 -07:00
13-user-deactivation.js Merge pull request #12833 from whoodes/clean-up-new-user-bot 2019-07-20 14:38:05 -07:00
14-drafts.js narrow: Window title shows user's name, in private message narrows. 2019-06-26 16:06:22 -07:00
15-delete-message.js jQuery: Replace positional selectors at the end of multiple selectors. 2019-06-06 15:21:26 -07:00
16-copy-and-paste.js copy_and_paste: Bind default copy handler to hotkeys. 2019-05-13 17:58:12 -07:00