2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-03-03 22:05:52 +08:00
discourse/spec/system
Martin Brennan 899a483d74
FIX: Make sure staff group is selected on UC page load when localized (#38140)
Followup 401f49c5fc

In the previous commit I made it so that localized staff group names
were taken into account in the UI and when selecting Staff for Enabled
for on the upcoming change page.

However, I didn't update the server side which gets the initial value
of enabled_for to be used on page load. This meant that if the staff
group name was
localized, the staff group would not be selected on page load even if it
was enabled.

c.f.
https://meta.discourse.org/t/issue-with-enabling-upcoming-changes/395881/26?u=martin
2026-03-02 12:43:09 +10:00
..
composer FIX: Show the tag's name in the composer when previewing templated form (#38018) 2026-02-24 22:38:51 +08:00
emojis
groups FIX: Improve error message when updating group notification settings (#37184) 2026-01-19 15:08:38 +11:00
helpers
page_objects UX: Display interpolation keys as interactive pills in admin editors (#37254) 2026-02-27 21:21:26 +01:00
tags FIX: 404s on 'no tags' (#37793) 2026-02-13 13:54:42 +08:00
topic_list
user_page DEV: Remove reviewable_ui_refresh feature flag and legacy code (#36752) 2026-02-23 10:45:36 +08:00
about_page_spec.rb DEV: Deprecate the assignment of nil to site settings (#36093) 2025-12-01 15:04:23 +08:00
admin_about_config_area_spec.rb DEV: remove magnific lightbox (#36375) 2025-12-03 09:57:53 +04:00
admin_api_keys_spec.rb FEATURE: improve UX of API key generation (#37789) 2026-02-17 12:03:13 +11:00
admin_backups_spec.rb
admin_badges_grouping_modal_spec.rb DEV: Add client settled checks for system tests (#35230) 2025-10-10 11:03:18 +08:00
admin_badges_spec.rb FEATURE: add filter to admin badges list (#37527) 2026-02-04 16:05:03 +01: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 FIX: set locale to avoid flakiness on color spec (#37410) 2026-01-30 16:23:45 -05:00
admin_config_login_and_authentication_spec.rb UX: Better separate login and authentication settings (#33711) 2025-10-09 15:29:21 -04:00
admin_config_theme_site_settings_spec.rb DEV: Update rubocop-discourse to 3.13 and autofix issues (#35073) 2025-10-06 16:11:01 +02: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
admin_customize_form_templates_spec.rb DEV: Rename experimental_ upcoming change settings (#37589) 2026-02-10 10:34:37 +10:00
admin_customize_themes_config_area_spec.rb DEV: Fix spec (#37585) 2026-02-05 15:19:41 -06:00
admin_customize_themes_spec.rb UX: Use English as language label where appropriate (#36762) 2025-12-18 13:10:23 -05:00
admin_dashboard_community_health_spec.rb
admin_editing_objects_typed_theme_setting_spec.rb DEV: fix a large amount of typos (#37428) 2026-02-02 16:31:58 +11:00
admin_email_login_readonly_spec.rb
admin_email_logs_spec.rb FEATURE: Display bounce details for bounced emails with bounce keys (#35957) 2025-11-12 09:26:27 +08:00
admin_email_templates_index_spec.rb UX: Replace dropdown with a dedicated index page for email templates (#35284) 2025-10-13 13:05:26 +03:00
admin_email_templates_spec.rb UX: Display interpolation keys as interactive pills in admin editors (#37254) 2026-02-27 21:21:26 +01:00
admin_embeddable_hosts_spec.rb
admin_filter_controls_spec.rb FEATURE: Filter upcoming changes list by multiple names (#38051) 2026-02-26 10:32:16 -05:00
admin_flags_spec.rb
admin_fonts_spec.rb
admin_groups_list_spec.rb UX: Prevent page reload on admin groups search (#35960) 2025-11-12 09:26:15 +08:00
admin_logo_spec.rb DEV: Add client settled checks for system tests (#35230) 2025-10-10 11:03:18 +08:00
admin_notices_spec.rb
admin_onboarding_banner_spec.rb FEATURE: Add "Use Predefined Topics" modal to admin onboarding banner (#37826) 2026-02-25 13:55:18 -03:00
admin_permalinks_page_spec.rb
admin_reports_spec.rb UX: Admin dashboard & reports improvements (#37598) 2026-02-24 09:20:38 +08:00
admin_search_spec.rb UX: Better separate login and authentication settings (#33711) 2025-10-09 15:29:21 -04:00
admin_sidebar_navigation_spec.rb UX: add review queue link to admin sidebar (#36611) 2025-12-11 10:01:37 -05:00
admin_site_setting_bulk_action_spec.rb UX: Require confirmation for clean_up_inactive_users_after_days setting (#36898) 2025-12-30 15:19:43 +10:00
admin_site_setting_category_bulk_action_spec.rb
admin_site_setting_label_formatting_spec.rb
admin_site_setting_locale_spec.rb Update translations (#36786) 2025-12-18 16:59:03 -05:00
admin_site_setting_requires_confirmation_spec.rb
admin_site_setting_search_spec.rb DEV: Remove deprecated trust level access settings (#36414) 2025-12-11 11:09:29 +10:00
admin_site_setting_tag_list_spec.rb DEV: Add system test for tag-list site setting (#37559) 2026-02-05 15:47:47 +08:00
admin_site_setting_topic_chooser_spec.rb FEATURE: Add new configurable moderation guide (#36287) 2025-12-01 10:30:32 +08:00
admin_site_setting_value_list_spec.rb UX: Show reorder buttons on touch devices for emoji-list settings (#36695) 2025-12-16 12:39:06 +01:00
admin_site_texts_spec.rb FEATURE: add infinite loading to site texts (#37512) 2026-02-23 10:31:34 -03:00
admin_staff_action_logs_spec.rb
admin_upcoming_changes_spec.rb FIX: Make sure staff group is selected on UC page load when localized (#38140) 2026-03-02 12:43:09 +10:00
admin_user_badges_spec.rb FIX: Allow badges with SQL queries to be manually granted (#36866) 2026-01-09 13:58:09 +01: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: Custom groups save button not clearing on admin user page (#37625) 2026-02-10 19:49:04 +01:00
admin_users_list_spec.rb
admin_watched_words_spec.rb
admin_web_hook_events_spec.rb
admin_webhooks_spec.rb FIX: Allow selecting tags when creating or editing webhooks (#37942) 2026-02-20 23:00:50 +08:00
admin_welcome_banner_config_spec.rb UX: add locale to welcome banner config, fix variable references (#36962) 2026-01-06 09:10:42 -05:00
admin_whats_new_spec.rb FEATURE: Remove experimental label & setting toggle for what's new (#38008) 2026-02-26 13:16:42 +10:00
blocks_spec.rb DEV: Add Block API for declarative, validated UI extension points (#36810) 2026-02-25 17:36:43 -03:00
bookmarks_spec.rb FIX: update bookmark UI when using keyboard shortcut (#37639) 2026-02-10 11:49:53 +01:00
bootstrap_error_pages_spec.rb
capabilities_service_spec.rb DEV: Add client settled checks for system tests (#35230) 2025-10-10 11:03:18 +08:00
categories_page_spec.rb FIX: Render hashtag icons in category descriptions (#36867) 2025-12-29 09:54:34 -03:00
category_localizations_spec.rb FEATURE: Show localized tags (#37044) 2026-02-12 18:06:14 +08:00
category_moderator_self_lockout_spec.rb FIX: Warn moderators before group changes that would lock them out (#36811) 2025-12-24 14:43:00 +01:00
category_topics_spec.rb
change_owner_spec.rb
composer_image_optimization_spec.rb DEV: System specs for image optimization in composer (#36060) 2025-11-19 11:37:15 +10:00
composer_spec.rb FIX: group subcategories under parent in composer category chooser (#37892) 2026-02-18 20:18:32 +03:00
composer_uploads_spec.rb DEV: Rename experimental_ upcoming change settings (#37589) 2026-02-10 10:34:37 +10:00
content_localization_language_switcher_spec.rb DEV: Wrap specs in appropriate locale (#38056) 2026-02-25 19:49:09 +08:00
content_localization_spec.rb DEV: Wrap specs in appropriate locale (#38056) 2026-02-25 19:49:09 +08:00
content_security_policy_spec.rb
core_features_spec.rb
create_invite_spec.rb DEV: Add client settled checks for system tests (#35230) 2025-10-10 11:03:18 +08:00
csv_exports_spec.rb
custom_sidebar_sections_spec.rb FIX: Support category+tag routes that do not have the tag_id (#37937) 2026-02-20 22:56:19 +08:00
dev_tools_spec.rb DEV: Add Block API for declarative, validated UI extension points (#36810) 2026-02-25 17:36:43 -03:00
discourse_connect_provider_spec.rb UX/UI: various d-otp improvements (#35993) 2025-11-14 09:28:27 +01:00
discourse_connect_spec.rb DEV: Improvements to DiscourseConnect spec helpers (#35173) 2025-10-03 14:53:56 +01:00
discourse_id_spec.rb FIX: Leave username blank during OAuth signup when no valid suggestion exists (#36830) 2026-01-08 11:02:35 +01:00
discovery_breadcrumb_navigation_spec.rb DEV: Move canonical tag routes to /tag/slug/id keeping /tag/name support (#37055) 2026-02-11 10:21:19 +08:00
discovery_category_spec.rb
discovery_h1_accessibility_spec.rb
discovery_list_spec.rb
dismissing_new_spec.rb DEV: Move canonical tag routes to /tag/slug/id keeping /tag/name support (#37055) 2026-02-11 10:21:19 +08: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: Rename experimental_ upcoming change settings (#37589) 2026-02-10 10:34:37 +10:00
edit_category_general_spec.rb FEATURE: Add FormKit Color control for color picker fields (#37238) 2026-01-21 20:40:24 +01:00
edit_category_images_spec.rb FEATURE: Support non-image file uploads in site settings (#37005) 2026-01-19 22:37:38 +01:00
edit_category_security_spec.rb
edit_category_settings_spec.rb FEATURE: Allow "hot" as category default view (#37231) 2026-01-21 10:21:40 +08:00
edit_category_tags_spec.rb DEV: Category settings for tags spec (#37021) 2026-01-09 12:19:55 +08:00
editing_sidebar_categories_navigation_spec.rb FIX: add decorated html to edit sidebar categories (#37169) 2026-01-16 15:49:16 +04:00
editing_sidebar_community_section_spec.rb
editing_sidebar_tags_navigation_spec.rb FIX: Edit sidebar tags navigation model "selected" filter not working (#36765) 2025-12-18 10:34:48 +08:00
editing_topic_timers_spec.rb FIX: Can't update close based on last post timer to close timer (#35541) 2025-10-28 09:07:43 +08:00
email_change_spec.rb DEV: Add client settled checks for system tests (#35230) 2025-10-10 11:03:18 +08:00
embed_mode_spec.rb FEATURE: Full Ember app embed mode for blog comments (#36613) 2026-02-18 18:22:57 -03:00
ember_deprecation_spec.rb DEV: Enforce deprecation-free tests for preinstalled plugins/themes (#36445) 2025-12-16 17:48:29 -03:00
filtering_topics_spec.rb FEATURE: allow filtering of tag groups with special chars (#37049) 2026-01-13 11:53:08 +11:00
finish_installation_spec.rb FIX: Redirect to wizard when setting up new instance using Discourse ID (#36993) 2026-01-07 10:19:17 -05:00
flagging_post_spec.rb DEV: Remove reviewable_ui_refresh feature flag and legacy code (#36752) 2026-02-23 10:45:36 +08:00
forgot_password_spec.rb
grant_badge_spec.rb
group_activity_spec.rb
group_card_spec.rb FIX: Improve mobile card cloak interaction (#38025) 2026-02-24 15:11:28 -05:00
group_moderator_self_lockout_spec.rb FIX: Warn moderators before group changes that would lock them out (#36811) 2025-12-24 14:43:00 +01:00
hashtag_autocomplete_spec.rb FIX: Prevent URL anchors from triggering hashtag autocomplete in rich editor (#37306) 2026-01-29 09:42:33 +01:00
header_search_spec.rb
header_spec.rb DEV: Add client settled checks for system tests (#35230) 2025-10-10 11:03:18 +08:00
homepage_spec.rb DEV: Enforce deprecation-free tests for preinstalled plugins/themes (#36445) 2025-12-16 17:48:29 -03:00
i18n_override_spec.rb FIX: Ensure translation overrides are always available (#38113) 2026-02-27 15:14:08 +00:00
image_grid_carousel_spec.rb FEATURE: carousel mode for image grid (#36825) 2026-01-07 11:48:15 +11:00
impersonation_spec.rb DEV: Rename experimental_ upcoming change settings (#37589) 2026-02-10 10:34:37 +10: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
lightbox_spec.rb DEV: remove magnific lightbox (#36375) 2025-12-03 09:57:53 +04:00
locale_spec.rb FIX: Dasherize locale correctly for messageformat setup (#37268) 2026-01-22 13:36:59 +00:00
login_spec.rb UX: Improve user API key authorization page (#36777) 2025-12-23 22:20:35 +01:00
member_upcoming_changes_spec.rb DEV: Move upcoming change tracking and promotion out of initializers (#37283) 2026-01-30 12:50:39 +10:00
mobile_mode_spec.rb FIX: topic-navigation crash when viewport crosses mobile/desktop threshold (#36590) 2025-12-10 17:26:23 +01:00
navigation_menu_state_integration_spec.rb
network_disconnected_spec.rb
new_category_spec.rb DEV: Add client settled checks for system tests (#35230) 2025-10-10 11:03:18 +08:00
pm_user_removal_spec.rb DEV: Purge the widget rendering system (#36109) 2025-11-26 16:10:02 -03:00
post_history_spec.rb DEV: Post history spec with tags (#37012) 2026-01-08 22:46:58 +08:00
post_menu_spec.rb DEV: fix a large amount of typos (#37428) 2026-02-02 16:31:58 +11:00
post_replies_spec.rb
post_selection_copy_quote_spec.rb
post_selection_fast_edit_spec.rb
post_small_action_spec.rb
post_stream_spec.rb UX: Improve post stream scrolling stability and layout control (#37788) 2026-02-18 14:58:57 -03:00
post_translation_spec.rb UX: Use English as language label where appropriate (#36762) 2025-12-18 13:10:23 -05:00
posts_page_spec.rb
powered_by_discourse_spec.rb
private_message_spec.rb FIX: Don't publish small_action event for removed PM user (#36606) 2025-12-10 23:49:19 +01:00
request_tracker_spec.rb DEV: Fix flaky explicit tracking tests in request_tracker_spec (#37008) 2026-01-08 14:39:42 +01:00
review_filters_spec.rb UX: enable refreshed review page (#36711) 2025-12-16 13:51:48 +08:00
reviewables_spec.rb DEV: Remove reviewable_ui_refresh feature flag and legacy code (#36752) 2026-02-23 10:45:36 +08:00
s3_secure_uploads_spec.rb DEV: Add client settled checks for system tests (#35230) 2025-10-10 11:03:18 +08:00
s3_uploads_spec.rb
script_encoding_spec.rb PERF: Use correctly-encoded JS files for webpack chunks on S3 (#35444) 2025-10-16 16:41:21 +01:00
scroll_manager_service_spec.rb DEV: Add client settled checks for system tests (#35230) 2025-10-10 11:03:18 +08:00
search_shortcut_variation_spec.rb
search_spec.rb DEV: Expand top_tags, topic.tags, etc, to return an array of tag objects instead of tag names (#36678) 2026-02-02 10:03:02 +08:00
signup_spec.rb FIX: Exclude fields hidden on sign-up from invite signup form (#35405) 2025-10-15 16:06:31 +08:00
simplified_category_creation_spec.rb UX: wider inputs, centered form, and footer controls for simplified category creation (#37964) 2026-02-26 11:40:58 -05:00
social_authentication_spec.rb DEV: Show unauthorized message when OAuth::Unauthorized is hit (#37776) 2026-02-12 13:41:33 -05:00
staff_writes_only_mode_spec.rb
table_builder_spec.rb DEV: Purge the widget rendering system (#36109) 2025-11-26 16:10:02 -03:00
tag_group_spec.rb FIX: allow new tags to be created from the Tag Group editor (#37594) 2026-02-06 14:27:01 +08:00
tag_notification_level_spec.rb
tag_settings_spec.rb FEATURE: Experimental dedicated tag settings page (#37805) 2026-02-19 11:03:01 +08:00
tag_view_spec.rb DEV: Expand top_tags, topic.tags, etc, to return an array of tag objects instead of tag names (#36678) 2026-02-02 10:03:02 +08:00
tags_index_spec.rb FIX: Update optionalRequire paths after admin directory move (#35551) 2025-10-22 12:49:54 -04:00
tags_intersection_spec.rb DEV: Move canonical tag routes to /tag/slug/id keeping /tag/name support (#37055) 2026-02-11 10:21:19 +08:00
theme_qunit_spec.rb
topic_admin_menu_spec.rb
topic_bulk_select_spec.rb UX: Show bulk action errors in modal instead of generic toast (#37807) 2026-02-13 13:52:01 +01:00
topic_list_spec.rb UX: Improve meta+click and meta+Enter events for topic list (#37281) 2026-01-23 13:20:33 -05:00
topic_page_spec.rb A11Y: add aria-label to automatically generated heading anchor links in posts (#36232) 2025-11-25 18:29:20 -05:00
topic_tracking_state_spec.rb FIX: typos, dead code, debug statements, incorrect naming, etc. (#37462) 2026-02-02 16:12:33 -08:00
topics_unread_when_closed_spec.rb
unified_new_topic_list_spec.rb DEV: Move canonical tag routes to /tag/slug/id keeping /tag/name support (#37055) 2026-02-11 10:21:19 +08:00
user_activation_spec.rb
user_activity_bookmarks_spec.rb
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
user_card_spec.rb UX: add filter button to user card of deactivated account (#36024) 2025-11-14 15:56:41 +08:00
user_selector_spec.rb
user_tips_spec.rb UX: Remove Bootstrap Mode (#37694) 2026-02-17 16:46:32 -03:00
viewing_category_spec.rb
viewing_group_members_spec.rb
viewing_navigation_menu_preferences_spec.rb
viewing_reviewable_spec.rb DEV: Remove reviewable_ui_refresh feature flag and legacy code (#36752) 2026-02-23 10:45:36 +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: fix a large amount of typos (#37428) 2026-02-02 16:31:58 +11:00
viewing_user_menu_spec.rb
viewing_user_private_messages_spec.rb
welcome_banner_spec.rb FEATURE: welcome banner shouldn't say "welcome back" to new users (#35777) 2025-11-05 09:12:52 +10:00
wizard_spec.rb UX: add name to wizard radios for keyboard nav (#37615) 2026-02-09 09:43:32 -03:00