zulip/frontend_tests/node_tests
Yashashvi Dave 40590bb6b9 custom fields: Fix exception in rendering custom profile field template.
The function `settings_account.add_custom_profile_fields_to_settings`
called twice, which resulted in two templates objects being
rendered.

The function also didn't check whether settings overlay was open or
not when processing new events, and thus would throw an "undefined"
error if a custom profile field was editing while the overlay was not
open.

Fixes #9668.
2018-06-10 13:50:38 -07:00
..
.eslintrc.json lint: Add JS indentation eslint rules for node_tests. 2018-05-06 19:35:18 -07:00
activity.js eslint: Enable space-infix-ops rule. 2018-06-05 00:47:35 +05:30
alert_words.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
bot_data.js node tests: Use run_test helper in bot_data.js. 2018-06-02 06:10:34 -04:00
buddy_data.js node tests: Use run_test helper in buddy_data.js. 2018-06-02 06:10:34 -04:00
buddy_list.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
channel.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
colorspace.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
common.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
components.js left-sidebar: Fix opening of compose box on narrowing using hotkeys. 2018-06-09 12:53:24 -04:00
compose.js style: Remove redundant brackets from typeof operator. 2018-06-05 09:22:26 -07:00
compose_actions.js compose: Add tests for compose_actions.on_narrow. 2018-05-28 10:45:42 -07:00
compose_fade.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
compose_pm_pill.js style: Remove redundant brackets from typeof operator. 2018-06-05 09:22:26 -07:00
compose_ui.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
composebox_typeahead.js eslint: Enable space-infix-ops rule. 2018-06-05 00:47:35 +05:30
copy_and_paste.js jsdom: Upgrade jsdom to v11.10.0. 2018-05-20 11:11:03 -07:00
dict.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
dispatch.js custom fields: Fix exception in rendering custom profile field template. 2018-06-10 13:50:38 -07:00
drafts.js node: Provide a default window object for the node tests. 2018-05-31 14:55:28 -07:00
emoji.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
emoji_picker.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
fetch_status.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
filter.js eslint: Add and enable `space-unary-ops` rule. 2018-06-05 00:47:35 +05:30
general.js node tests: Use run_test helper in general.js. 2018-06-02 06:10:34 -04:00
hash_util.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
hashchange.js node: Provide a default window object for the node tests. 2018-05-31 14:55:28 -07:00
hotkey.js settings: Add better keyboard navigation for panel menus. 2018-06-06 09:42:33 -07:00
i18n.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
input_pill.js node tests: Use run_test helper in input_pill.js. 2018-06-02 06:10:34 -04:00
list_render.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
markdown.js node: Provide a default window object for the node tests. 2018-05-31 14:55:28 -07:00
message_edit.js eslint: Enable space-infix-ops rule. 2018-06-05 00:47:35 +05:30
message_fetch.js refactor: Avoid positional params for MessageList. 2018-05-15 14:25:21 -07:00
message_list.js eslint: Enable space-infix-ops rule. 2018-06-05 00:47:35 +05:30
message_list_data.js Fix recent regressions with All Messages (muted topics). 2018-06-04 14:35:23 -07:00
message_list_view.js refactor: Avoid positional params for MessageList. 2018-05-15 14:25:21 -07:00
message_store.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
muting.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
narrow.js narrow: Show non-existing user message for invalid emails. 2018-05-28 10:45:42 -07:00
narrow_activate.js narrow: Fix how we select ids for narrows. 2018-06-01 12:45:02 -07:00
narrow_local.js node tests: Add narrow_local.js. 2018-06-01 12:45:02 -07:00
narrow_state.js search: Remove blueslip warnings for invalid emails in 'pm-with' filter. 2018-05-30 07:49:59 -04:00
narrow_unread.js Expand get_unread_ids() to all local narrows. 2018-05-31 08:44:18 -07:00
notifications.js node: Provide a default window object for the node tests. 2018-05-31 14:55:28 -07:00
password.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
people.js search: Remove blueslip warnings for invalid emails in 'pm-with' filter. 2018-05-30 07:49:59 -04:00
people_errors.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
pm_conversations.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
pm_list.js search: Remove blueslip warnings for invalid emails in 'pm-with' filter. 2018-05-30 07:49:59 -04:00
popovers.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
presence.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
reactions.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
recent_senders.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
rtl.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
schema.js Add a schema checking concept to the web app. 2018-05-24 09:30:22 -07:00
scroll_util.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
search_suggestion.js search: Respect spaces in person name in new suggestions only. 2018-05-25 09:03:27 -07:00
server_events.js node: Provide a default window object for the node tests. 2018-05-31 14:55:28 -07:00
settings_bots.js frontend: Use bot_data instead of HTML data to generate zuliprc. 2018-06-04 08:39:11 -07:00
settings_muting.js style: Remove redundant brackets from typeof operator. 2018-06-05 09:22:26 -07:00
settings_org.js org settings: Improve error handling status elements. 2018-06-06 09:00:35 -07:00
settings_user_groups.js style: Remove redundant brackets from typeof operator. 2018-06-05 09:22:26 -07:00
stream_color.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
stream_data.js streams: Rename change_change_subscription_type to reference permissions. 2018-05-21 16:14:18 -07:00
stream_events.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
stream_list.js page load: Make initializations more explicit. 2018-05-15 15:46:04 -07:00
stream_search.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
stream_sort.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
submessage.js submessages: Add update_message() function. 2018-05-30 14:47:36 -07:00
subs.js node: Provide a default window object for the node tests. 2018-05-31 14:55:28 -07:00
templates.js message edit: Fix edit author text overflow on images. 2018-06-08 07:49:28 -07:00
timerender.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
top_left_corner.js pm_list: Do not expand pm_list for invalid emails in `pm-with`. 2018-05-28 11:29:54 -07:00
topic_data.js node tests: Use run_test helper in topic_data.js. 2018-06-02 06:10:34 -04:00
topic_generator.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
topic_list.js Use unread data in topic_data.get_recent_names(). 2018-05-15 14:25:21 -07:00
transmit.js transmit.js: Add reply_message(). 2018-05-24 09:30:22 -07:00
typeahead_helper.js eslint: Enable space-infix-ops rule. 2018-06-05 00:47:35 +05:30
typing_data.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
typing_status.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
unread.js eslint: Enable space-infix-ops rule. 2018-06-05 00:47:35 +05:30
upload.js eslint: Enable space-infix-ops rule. 2018-06-05 00:47:35 +05:30
user_events.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
user_groups.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
user_pill.js node tests: Use run_test helper in user_pill.js. 2018-06-02 06:10:34 -04:00
util.js eslint: Enable space-infix-ops rule. 2018-06-05 00:47:35 +05:30
zblueslip.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00
zjquery.js Add run_test helper for individual tests. 2018-05-15 08:24:44 -07:00