zulip/web/tests
Lauryn Menard be3ac06cf4 invite-user-modal: Add validation on custom time input.
Disables the submit button on the invite user modal if the custom
time input value is a negative number or if the number is not an
integer.

Also updates the text for when the invite expires so say that the
custom time value is invalid.
2024-10-16 15:21:40 -07:00
..
lib user_groups: Use can_leave_group setting to check permisison. 2024-10-14 11:44:27 -07:00
templates popovers: Add hotkey hints support via a new handlebar template. 2024-04-11 15:57:24 -07:00
activity.test.js buddy_list: Add span for search section of header. 2024-10-10 14:34:11 -07:00
alert_words.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
alert_words_ui.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
blueslip_stacktrace.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
bot_data.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
browser_history.test.js tests: Unmock user_settings. 2024-10-09 15:34:58 -07:00
buddy_data.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
buddy_list.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
channel.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
color_data.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
common.test.js docs: Update keyboard shortcuts to always show "Fn" key option. 2024-10-14 15:14:10 -07:00
components.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
compose.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
compose_actions.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
compose_closed_ui.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
compose_fade.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
compose_pm_pill.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
compose_state.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
compose_ui.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
compose_validate.test.js tests: Use override more for realm. 2024-10-09 16:20:50 -07:00
compose_video.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
composebox_typeahead.test.js user_groups: Use can_leave_group setting to check permisison. 2024-10-14 11:44:27 -07:00
copy_and_paste.test.js urls: Generate narrow links in frontend with "channel" operator. 2024-10-11 17:00:23 -07:00
deprecated_feature_notice.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
dispatch.test.js settings: Add `can_add_custom_emoji_group` realm setting. 2024-10-13 16:09:04 -07:00
dispatch_subs.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
drafts.test.js tests: Unmock user_settings. 2024-10-09 15:34:58 -07:00
echo.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
emoji.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
emoji_picker.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
example1.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
example2.test.js tests: Unmock user_settings. 2024-10-09 15:34:58 -07:00
example3.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
example4.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
example5.test.js tests: Unmock user_settings. 2024-10-09 15:34:58 -07:00
example6.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
example7.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
example8.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
fenced_code.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
fetch_status.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
filter.test.js urls: Generate narrow links in frontend with "channel" operator. 2024-10-11 17:00:23 -07:00
fold_dict.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
gear_menu_util.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
hash_util.test.js urls: Generate narrow links in frontend with "channel" operator. 2024-10-11 17:00:23 -07:00
hashchange.test.js urls: Generate narrow links in frontend with "channel" operator. 2024-10-11 17:00:23 -07:00
hotkey.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
i18n.test.js urls: Generate narrow links in frontend with "channel" operator. 2024-10-11 17:00:23 -07:00
input_pill.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
internal_url.test.js urls: Generate narrow links in frontend with "channel" operator. 2024-10-11 17:00:23 -07:00
keydown_util.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
lazy_set.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
left_sidebar_navigation_area.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
linkifiers.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
list_cursor.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
list_widget.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
markdown.test.js urls: Generate narrow links in frontend with "channel" operator. 2024-10-11 17:00:23 -07:00
markdown_parse.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
message_edit.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
message_events.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
message_flags.test.js tests: Unmock user_settings. 2024-10-09 15:34:58 -07:00
message_list.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
message_list_data.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
message_list_view.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
message_store.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
message_view.test.js narrow_banner: Differentiate between unknown channel and new topic. 2024-10-15 13:08:52 -07:00
muted_users.test.js tests: Unmock user_settings. 2024-10-09 15:34:58 -07:00
narrow_activate.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
narrow_local.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
narrow_state.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
narrow_unread.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
navbar_alerts.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
notifications.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
password.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
peer_data.test.js invite: Add guest visibility note with live-updating user count. 2024-10-15 16:19:00 -07:00
people.test.js tests: Use override more for realm. 2024-10-09 16:20:50 -07:00
people_errors.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
pill_typeahead.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
pm_conversations.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
pm_list.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
pm_list_data.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
poll_widget.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
popover_menus_data.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
postprocess_content.test.js tests: Unmock user_settings. 2024-10-09 15:34:58 -07:00
presence.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
reactions.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
realm_playground.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
recent_senders.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
recent_view.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
reload.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
reload_state.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
rendered_markdown.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
resolved_topic.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
rtl.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
saved_snippets.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
scheduled_messages.test.js tests: Unmock user_settings. 2024-10-09 15:34:58 -07:00
scroll_util.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
search.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
search_suggestion.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
server_events.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
settings_bots.test.js tests: Use override more for realm. 2024-10-09 16:20:50 -07:00
settings_config.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
settings_data.test.js settings: Add `can_move_messages_between_channels_group` realm setting. 2024-10-16 14:26:18 -07:00
settings_emoji.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
settings_muted_users.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
settings_org.test.js settings: Add `can_move_messages_between_channels_group` realm setting. 2024-10-16 14:26:18 -07:00
settings_profile_fields.test.js custom_profile_fields: Migrate admin table to use ListWidget. 2024-10-11 16:17:06 -07:00
settings_realm_domains.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
settings_user_topics.test.js tests: Unmock user_settings. 2024-10-09 15:34:58 -07:00
spoilers.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
starred_messages.test.js tests: Unmock user_settings. 2024-10-09 15:34:58 -07:00
stream_create_subscribers_data.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
stream_data.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
stream_edit.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
stream_events.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
stream_list.test.js urls: Generate narrow links in frontend with "channel" operator. 2024-10-11 17:00:23 -07:00
stream_list_sort.test.js tests: Unmock user_settings. 2024-10-09 15:34:58 -07:00
stream_pill.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
stream_search.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
stream_settings_ui.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
stream_topic_history.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
submessage.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
support.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
templates.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
time_zone_util.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
timerender.test.js tests: Unmock user_settings. 2024-10-09 15:34:58 -07:00
topic_generator.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
topic_link_util.test.js urls: Generate narrow links in frontend with "channel" operator. 2024-10-11 17:00:23 -07:00
topic_list_data.test.js urls: Generate narrow links in frontend with "channel" operator. 2024-10-11 17:00:23 -07:00
transmit.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
typeahead.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
typeahead_helper.test.js tests: Use override more for realm. 2024-10-09 16:20:50 -07:00
typing_data.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
typing_events.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
typing_status.test.js typing: Check empty topic string if realm has mandatory topics. 2024-10-16 09:41:55 -07:00
ui_util.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
unread.test.js tests: Use override for realm. 2024-10-09 15:34:58 -07:00
upload.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
user_events.test.js settings: Add `can_add_custom_emoji_group` realm setting. 2024-10-13 16:09:04 -07:00
user_group_pill.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
user_groups.test.js user_groups: Use can_leave_group setting to check permisison. 2024-10-14 11:44:27 -07:00
user_pill.test.js tests: Unmock state_data. 2024-10-09 15:34:58 -07:00
user_search.test.js buddy_list: Add span for search section of header. 2024-10-10 14:34:11 -07:00
user_status.test.js tests: Unmock user_settings. 2024-10-09 15:34:58 -07:00
user_topics.test.js tests: Unmock user_settings. 2024-10-09 15:34:58 -07:00
user_topics_ui.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
util.test.js invite-user-modal: Add validation on custom time input. 2024-10-16 15:21:40 -07:00
vdom.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
watchdog.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
widgetize.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
zblueslip.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00
zjquery.test.js eslint: Fix unicorn/prefer-node-protocol. 2024-10-08 16:54:15 -07:00