2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-10-03 17:21:20 +08:00
discourse/spec/system
Osama Sayegh 2b7835d02a
FIX: Allow saving category when color attributes are 3-digits hex (#35119)
This commitreworks the validation and handling of color pickers in
the category edit page so they're simpler and more predictable. In
particular:

* It no longer attempts to "autocomplete" 3-digits hex values to the
equivalent 6-digits format -- we now accept both 3 and 6 digits formats
* It no longer disables the save button if the input color value is
invalid. The save button is always clickable, and if the admin attempts
to save with an invalid color value, the form will display errors
explaining which input is invalid and what's wrong with the color value

Internal topic: t/163062.
2025-10-02 14:33:30 +03:00
..
composer DEV: Resolve flaky system/composer/category_templates_spec.rb:431 (#35077) 2025-09-30 19:17:57 +01:00
emojis DEV: replace selenium driver with playwright (#31977) 2025-05-06 10:44:14 +02:00
groups FIX: Updating a group without e-mail domains (#31896) 2025-03-19 10:38:41 +08:00
helpers
page_objects FIX: Allow saving category when color attributes are 3-digits hex (#35119) 2025-10-02 14:33:30 +03:00
topic_list DEV: add a visited link system spec (#34140) 2025-08-07 19:09:01 +02:00
user_page UX: Enable 'viewport based mobile mode' by default (#35036) 2025-09-29 19:46:52 +01:00
about_page_spec.rb DEV: Have about page extra groups depend on groups selected (#33095) 2025-06-06 11:25:59 +08:00
admin_about_config_area_spec.rb DEV: Update PageObjects::Components::FormKit#submit to click submit (#34740) 2025-09-05 10:21:12 +08:00
admin_api_keys_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
admin_backups_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
admin_badges_grouping_modal_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
admin_badges_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
admin_color_palette_config_area_spec.rb DEV: Clear caches properly in admin_color_palette_config_area_spec (#35087) 2025-09-30 22:06:55 +01:00
admin_color_palettes_config_area_spec.rb FEATURE: Enable new color palette edit page (#34566) 2025-09-01 05:37:34 +03:00
admin_config_theme_site_settings_spec.rb FEATURE: Show themeable site settings in site setting lists (#34666) 2025-09-22 10:55:23 +10:00
admin_customize_components_config_area_spec.rb DEV: Fix flaky system test (#34743) 2025-09-05 11:32:51 +08:00
admin_customize_emojis_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
admin_customize_form_templates_spec.rb FIX: sites with form templates had broken uploads (#34455) 2025-08-22 11:20:21 +10:00
admin_customize_themes_config_area_spec.rb FIX: Add delete button to themes grid (#34606) 2025-08-29 10:09:23 +08:00
admin_customize_themes_spec.rb FEATURE: Enable new color palette edit page (#34566) 2025-09-01 05:37:34 +03:00
admin_dashboard_community_health_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
admin_dashboard_new_features_spec.rb DEV: Update "what's new" feed due to upstream changes (#34257) 2025-08-14 14:27:41 -04:00
admin_editing_objects_typed_theme_setting_spec.rb FEATURE: porting type object to site settings (#32706) 2025-05-13 14:30:24 -03:00
admin_email_login_readonly_spec.rb FIX: improve "read only" modes (#33521) 2025-07-10 09:08:00 +02:00
admin_email_logs_spec.rb FIX: Clicking on subject in admin email logs broken (#35030) 2025-10-01 10:04:27 +08:00
admin_email_templates_spec.rb FIX: Force composer markdown mode in email template editing (#34668) 2025-09-24 14:28:28 +10:00
admin_embeddable_hosts_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
admin_filter_controls_spec.rb FEATURE: Add reusable AdminFilterControls component, apply to plugins and reports (#33706) 2025-07-24 16:55:33 -04:00
admin_flags_spec.rb DEV: Fix broken test (#33403) 2025-07-01 12:56:19 +08:00
admin_fonts_spec.rb UX: split admin logo and fonts to separate pages (#32700) 2025-05-14 14:02:34 +08:00
admin_logo_spec.rb UX: split admin logo and fonts to separate pages (#32700) 2025-05-14 14:02:34 +08:00
admin_notices_spec.rb FIX: Only render admin notice dismiss button for admins (#29103) 2024-10-07 13:14:01 +08:00
admin_permalinks_page_spec.rb UX: Conditionally render permalinks filter (#30633) 2025-01-08 06:18:01 -06:00
admin_reports_spec.rb FEATURE: Show legacy pageview report for sites using legacy pageviews (#33620) 2025-07-17 10:46:22 +08:00
admin_search_spec.rb FIX: Broken links to site settings under Content section (#33597) 2025-07-14 16:14:50 +08:00
admin_sidebar_navigation_spec.rb UX: Keep "Themes & Components" admin sidebar link active on components (#34869) 2025-09-19 16:01:35 +08:00
admin_site_setting_bulk_action_spec.rb FEATURE: Theme-owned color palettes (#32795) 2025-06-04 07:47:58 +03:00
admin_site_setting_category_bulk_action_spec.rb FEATURE: Theme-owned color palettes (#32795) 2025-06-04 07:47:58 +03:00
admin_site_setting_label_formatting_spec.rb UX: Add Sentence Casing for Setting Names (#30479) 2024-12-31 09:55:53 +11:00
admin_site_setting_locale_spec.rb Update translations (#34413) 2025-08-19 16:23:59 +02:00
admin_site_setting_requires_confirmation_spec.rb DEV: Fix admin confirmation flaky spec (#29456) 2024-10-30 04:59:51 +10:00
admin_site_setting_search_spec.rb FEATURE: Introduce site settings which require confirmation (#27315) 2024-06-19 16:01:24 +10:00
admin_site_texts_spec.rb FIX: correctly display category name in replace text modal (#29612) 2024-11-06 13:39:52 +11:00
admin_staff_action_logs_spec.rb FEATURE: Make staff action logs export respect the filter (#34113) 2025-08-07 16:25:16 +08:00
admin_user_badges_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
admin_user_fields_spec.rb FEATURE: Allow hiding user fields on signup form (#34672) 2025-09-15 10:42:07 +08:00
admin_user_spec.rb FIX: JS error when silencing and unsilencing the user (#33851) 2025-07-25 14:33:07 +08:00
admin_users_list_spec.rb UX: update groups route on admin users page (#33738) 2025-07-21 14:17:16 -04:00
admin_watched_words_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
admin_web_hook_events_spec.rb FEATURE: Add Filter for Webhook Events by Status (#27332) 2024-06-07 10:26:00 -05:00
admin_webhooks_spec.rb Admin webhooks UI guidelines (#30764) 2025-01-16 10:22:18 +08:00
bookmarks_spec.rb FEATURE: Clear bookmark reminders from bookmark menu (#33168) 2025-06-13 10:37:08 +10:00
bootstrap_error_pages_spec.rb FIX: Improve handling of 'PublicExceptions' when bootstrap_error_pages enabled (#26700) 2024-04-24 09:40:13 +01:00
capabilities_service_spec.rb DEV: Introduce reactive JS API for viewport size (#32060) 2025-04-30 15:26:59 +01:00
category_topics_spec.rb DEV: replace selenium driver with playwright (#31977) 2025-05-06 10:44:14 +02:00
change_owner_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
composer_spec.rb DEV: remove toggles for switching between jquery & floatkit autocomplete (#34867) 2025-09-19 14:50:04 +08:00
composer_uploads_spec.rb FIX: ensures auto grid works in german (#33831) 2025-07-24 20:15:08 +02:00
content_localization_language_switcher_spec.rb FEATURE: Also allow language switcher to be shown when users are logged in (#34578) 2025-08-27 23:01:07 +08:00
content_localization_spec.rb FIX: Update i18n key for toggle localization button (#34405) 2025-08-19 15:45:47 +08:00
content_security_policy_spec.rb FIX: invalid CSP directive sources should allow site to boot with valid CSP directives (#31256) 2025-02-10 20:38:36 +08:00
core_features_spec.rb DEV: Add more granularity to the core features specs shared example 2025-04-01 14:54:11 +02:00
create_invite_spec.rb DEV: Update invite spec for DST handling (#35079) 2025-09-30 19:18:09 +01:00
csv_exports_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
custom_sidebar_sections_spec.rb DEV: replace selenium driver with playwright (#31977) 2025-05-06 10:44:14 +02:00
dev_tools_spec.rb DEV: replace selenium driver with playwright (#31977) 2025-05-06 10:44:14 +02:00
discourse_connect_provider_spec.rb FIX: DiscourseConnect provider redirect to forum instead of the sso_redirect_url in the payload (#34580) 2025-09-19 15:09:34 +02:00
discourse_connect_spec.rb FIX: DiscourseConnect provider redirect to forum instead of the sso_redirect_url in the payload (#34580) 2025-09-19 15:09:34 +02:00
discourse_id_spec.rb DEV: Add validator for enable_discourse_id setting (#33710) 2025-07-21 08:18:36 -04:00
discovery_breadcrumb_navigation_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
discovery_category_spec.rb DEV: Add system spec for categories page (#29621) 2024-11-06 20:01:27 +02:00
discovery_h1_accessibility_spec.rb A11Y: Update accessible headings for more flexible translations (#32863) 2025-05-23 09:15:44 -04:00
discovery_list_spec.rb FIX: Ensure discovery queryParams do not persist invisibly (#32178) 2025-04-11 09:44:32 +01:00
dismissing_new_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
drafts_dropdown_spec.rb FEATURE: new topic button always enabled (#34603) 2025-09-16 17:01:49 +04:00
edit_category_form_templates_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
edit_category_general_spec.rb FIX: Allow saving category when color attributes are 3-digits hex (#35119) 2025-10-02 14:33:30 +03:00
edit_category_images_spec.rb DEV: Fix flaky test when editing category logo image (#33961) 2025-07-30 13:33:41 +10:00
edit_category_localizations_spec.rb FIX: Show category localization selector for non-supported locales when localization exists (#34025) 2025-08-04 12:04:27 +08:00
edit_category_security_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
editing_sidebar_categories_navigation_spec.rb FIX: Show more button now loads additional root-level subcategories (#35101) 2025-10-02 10:12:13 +10:00
editing_sidebar_community_section_spec.rb FIX: Sidebar messages link updates (#33444) 2025-07-07 11:55:39 +08:00
editing_sidebar_tags_navigation_spec.rb DEV: replace selenium driver with playwright (#31977) 2025-05-06 10:44:14 +02:00
email_change_spec.rb DEV: Remove full_page_login setting (#32189) 2025-04-29 10:40:40 +02:00
ember_deprecation_spec.rb DEV: Improve critical deprecation warnings (#34809) 2025-09-16 16:16:45 -03:00
filtering_topics_spec.rb DEV: Convert FilterTips to use DMenu and refactor components (#33999) 2025-08-05 12:10:40 +10:00
finish_installation_spec.rb FIX: Restore styles in finish-installation route (#34420) 2025-08-19 13:09:28 -04:00
flagging_post_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
forgot_password_spec.rb DEV: Introduce with_security_key system test helper (#32459) 2025-04-25 15:40:07 +08:00
grant_badge_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
group_activity_spec.rb
group_card_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
hashtag_autocomplete_spec.rb DEV: remove toggles for switching between jquery & floatkit autocomplete (#34867) 2025-09-19 14:50:04 +08:00
header_search_spec.rb FEATURE: Themeable site settings (#32233) 2025-07-16 11:00:21 +10:00
header_spec.rb FEATURE: Themeable site settings (#32233) 2025-07-16 11:00:21 +10:00
homepage_spec.rb DEV: Fix flaky system test (#31822) 2025-03-14 16:10:48 +08:00
impersonation_spec.rb DEV: Improve errors for failed impersonation (#34509) 2025-08-27 09:12:29 +08:00
interface_color_selector_spec.rb FIX: Allow creating new color palettes based on custom palettes (#34351) 2025-08-20 11:58:40 +08:00
keyboard_shortcuts_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
locale_spec.rb FIX: Moment locale loading in type=module (#33128) 2025-06-09 14:20:04 +01:00
login_spec.rb FEATURE: Preserve the query when redirecting to login/signup (#34363) 2025-08-20 10:59:47 -05:00
mobile_mode_spec.rb DEV: Introduce experimental viewport-based mobile mode (#32859) 2025-05-23 13:01:04 +01:00
navigation_menu_state_integration_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
network_disconnected_spec.rb DEV: Skip flaky topic map spec on CI (#28159) 2024-07-31 13:04:05 +10:00
new_category_spec.rb DEV: replace selenium driver with playwright (#31977) 2025-05-06 10:44:14 +02:00
new_topic_list_spec.rb DEV: replace selenium driver with playwright (#31977) 2025-05-06 10:44:14 +02:00
pm_user_removal_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
post_menu_spec.rb DEV: replace selenium driver with playwright (#31977) 2025-05-06 10:44:14 +02:00
post_replies_spec.rb SECURITY: add pagination to post replies 2024-10-07 11:48:48 +08:00
post_selection_copy_quote_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
post_selection_fast_edit_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
post_small_action_spec.rb DEV: updates playwright to 1.54 (#33715) 2025-07-24 10:07:31 +02:00
post_stream_spec.rb DEV: Introduce state handling for post cooked HTML decorators (#33200) 2025-06-23 18:13:49 -03:00
post_translation_spec.rb FIX: Always show the translation post menu (#34927) 2025-09-24 12:54:46 +08:00
posts_page_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
powered_by_discourse_spec.rb FEATURE: optionally show "Powered by Discourse" link to discourse.org (#26162) 2024-03-14 10:30:12 -04:00
private_message_spec.rb FIX: ensures we have changed page first (#32802) 2025-05-19 17:44:56 +02:00
request_tracker_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
reviewables_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
s3_secure_uploads_spec.rb DEV: updates playwright to 1.54 (#33715) 2025-07-24 10:07:31 +02:00
s3_uploads_spec.rb DEV: updates playwright to 1.54 (#33715) 2025-07-24 10:07:31 +02:00
scroll_manager_service_spec.rb DEV: adds logo page component (#28276) 2024-08-08 13:52:48 +02:00
search_shortcut_variation_spec.rb DEV: updates playwright to 1.54 (#33715) 2025-07-24 10:07:31 +02:00
search_spec.rb FIX: escapes account-created routes on Welcome banner page visibility (#34951) 2025-09-26 14:41:59 +03:00
signup_spec.rb FEATURE: Allow hiding user fields on signup form (#34672) 2025-09-15 10:42:07 +08:00
social_authentication_spec.rb FIX: Show error message when social auth fails for suspended users (#34173) 2025-08-08 13:35:14 -04:00
staff_writes_only_mode_spec.rb FIX: improve "read only" modes (#33521) 2025-07-10 09:08:00 +02:00
table_builder_spec.rb DEV: updates playwright to 1.54 (#33715) 2025-07-24 10:07:31 +02:00
tag_edit_spec.rb FEATURE: Add new edit_tags_allowed_groups setting (#34000) 2025-08-01 15:19:20 +08:00
tag_notification_level_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
tag_synonyms_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
tag_view_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
tags_intersection_spec.rb FIX: Don't leave blank additional_tag_ids param after removing dups in intersection (#34423) 2025-08-19 15:14:29 -05:00
theme_qunit_spec.rb
topic_admin_menu_spec.rb FIX: shows errors when converting to public is impossible (#27103) 2024-05-21 12:14:31 +02:00
topic_bulk_select_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
topic_list_focus_spec.rb
topic_page_spec.rb DEV: replace selenium driver with playwright (#31977) 2025-05-06 10:44:14 +02:00
topics_unread_when_closed_spec.rb FEATURE: Silence Close Notifications User Setting (#26072) 2024-03-08 15:14:46 -07:00
user_activation_spec.rb UX: Add progress bar to the registration flow (#27694) 2024-08-28 08:43:39 -03:00
user_activity_bookmarks_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
user_activity_drafts_spec.rb FEATURE: Bulk select posts and delete drafts (#34972) 2025-09-29 12:47:54 -07:00
user_activity_posts_spec.rb DEV: replace selenium driver with playwright (#31977) 2025-05-06 10:44:14 +02:00
user_card_spec.rb FIX: Mention with a status should open the user card (#33979) 2025-07-31 02:32:24 +03:00
user_selector_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
user_tips_spec.rb FIX: user tips in languages with apostrophes (#34118) 2025-08-07 13:44:36 -04:00
viewing_category_spec.rb
viewing_group_members_spec.rb
viewing_navigation_menu_preferences_spec.rb
viewing_reviewable_spec.rb DEV: Fix topic link component for reviewabled flagged post in new UI (#33518) 2025-07-09 09:11:25 +08:00
viewing_sidebar_as_anonymous_user_spec.rb
viewing_sidebar_mobile_spec.rb UX: Enable 'viewport based mobile mode' by default (#35036) 2025-09-29 19:46:52 +01:00
viewing_sidebar_spec.rb DEV: remove experimental_sidebar_messages_count_enabled_groups (#34167) 2025-08-11 12:38:50 +08:00
viewing_user_menu_spec.rb FEATURE: add new hidden site setting to show full names in user card 2025-01-23 12:26:59 -05:00
viewing_user_private_messages_spec.rb DEV: remove experimental_sidebar_messages_count_enabled_groups (#34167) 2025-08-11 12:38:50 +08:00
welcome_banner_spec.rb UX: add welcome banner text color setting (#34657) 2025-09-24 15:19:40 +08:00
wizard_spec.rb FIX: Language dropdown in wizard should filter correctly (#34379) 2025-08-18 17:51:46 +08:00