discourse/spec/system
Kris df1bede9f7
FIX: when new new is enabled, filter dismiss modal to correct type (#33037)
Currently both boxes are always checked, even if you're filtered to new
topics or new posts.

You must have the site setting `Experimental new new view groups` set to
your user's group to see this mode.



![image](https://github.com/user-attachments/assets/f485ad66-7491-4f52-a812-4b5f9dba6d63)

This allows both options to appear, but only selects the current filter:


![image](https://github.com/user-attachments/assets/6a3c1a91-1638-440f-80e3-4d74711d8064)

Turns out this was already implemented, but `subset` was always
undefined. This fixes the arg and adds a couple new specs to cover it.

see /t/155039 for reference
2025-06-03 09:47:06 -04:00
..
composer FIX: attempts to fix flaky in review media (#32787) 2025-05-18 22:57:00 +02: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: when new new is enabled, filter dismiss modal to correct type (#33037) 2025-06-03 09:47:06 -04:00
topic_list DEV: replace selenium driver with playwright (#31977) 2025-05-06 10:44:14 +02:00
topic_view FIX: Also show the toggle localization button on mobile (#32912) 2025-05-26 21:54:34 +08:00
user_page Revert "DEV: Added the ability to use users' names in group mention n… (#33023) 2025-05-31 13:58:32 +10:00
about_page_spec.rb DEV: Add tests for about page extra group ordering (#32959) 2025-05-28 17:36:12 +08:00
admin_about_config_area_spec.rb DEV: Port the about page extra groups functionality into core (#32659) 2025-05-14 09:44:25 +08:00
admin_api_keys_spec.rb FIX: Add back missing API key 'peek' step (#30683) 2025-01-10 10:21:22 +08:00
admin_backups_spec.rb FIX: hide unnecessary tabs and buttons when backups disabled (#32396) 2025-04-23 10:22:31 +08:00
admin_badges_grouping_modal_spec.rb FIX: correctly pass updateGroupings to the modal (#28683) 2024-09-02 17:32:18 +02:00
admin_badges_spec.rb UX: Update some delete confirmation dialogs (#33018) 2025-06-02 09:14:58 -04:00
admin_color_palette_config_area_spec.rb UX: Update some delete confirmation dialogs (#33018) 2025-06-02 09:14:58 -04:00
admin_color_palettes_config_area_spec.rb FEATURE: Add color palette list selection to new UI (#32379) 2025-05-05 05:12:50 +03:00
admin_customize_components_config_area_spec.rb UX: Update some delete confirmation dialogs (#33018) 2025-06-02 09:14:58 -04:00
admin_customize_emojis_spec.rb UX: Update some delete confirmation dialogs (#33018) 2025-06-02 09:14:58 -04:00
admin_customize_form_templates_spec.rb DEV: replace selenium driver with playwright (#31977) 2025-05-06 10:44:14 +02:00
admin_customize_themes_config_area_spec.rb DEV: Port install theme button modal to new themes page (#32834) 2025-05-22 17:24:37 +08:00
admin_customize_themes_spec.rb FIX: uses correct capybara waiter (#32788) 2025-05-18 22:57:35 +02:00
admin_dashboard_community_health_spec.rb FEATURE: Switch to new methods of pageview measurement and reporting (#28729) 2024-09-10 09:51:49 +10:00
admin_dashboard_new_features_spec.rb FIX: remove admin_sidebar_enabled_groups setting (#31693) 2025-03-11 11:41:38 +11: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_embeddable_hosts_spec.rb DEV: Add base admin page page object (#30814) 2025-01-16 12:52:41 +08:00
admin_flags_spec.rb DEV: Simplify "Admin Flags Page" system test to reduce runtime duration (#32431) 2025-04-24 15:47:22 +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_search_spec.rb UX: simplify admin search, make more accessible (#32733) 2025-05-15 16:31:03 +10:00
admin_sidebar_navigation_spec.rb FIX: bring back sidebar filter (#32837) 2025-05-22 13:44:25 +08:00
admin_site_setting_bulk_action_spec.rb DEV: Preserve unsaved site settings (#32100) 2025-04-03 16:10:30 +08:00
admin_site_setting_category_bulk_action_spec.rb DEV: Preserve unsaved site settings (#32100) 2025-04-03 16:10:30 +08: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_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 FIX: filterable staff logs for flags (#29695) 2024-11-12 11:23:18 +11:00
admin_user_badges_spec.rb DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
admin_user_fields_spec.rb DEV: Introduce <DPageHeader /> and <DPageSubheader /> components (#30146) 2024-12-18 08:13:39 +10:00
admin_user_spec.rb FIX: ensure we can lookup identical ip addresses (#32725) 2025-05-14 11:48:01 +02:00
admin_users_list_spec.rb FIX: skip flaky specs (#32786) 2025-05-19 09:47:37 +08:00
admin_watched_words_spec.rb DEV: Remove extraneous spec code (#29386) 2024-10-24 14:15:32 +02: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
anon_language_switcher_spec.rb FEATURE: Show language switcher for anons (#32965) 2025-05-29 11:37:20 +08:00
bookmarks_spec.rb DEV: Try fix bookmark flaky (#29069) 2024-10-03 14:34:36 +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: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
composer_spec.rb DEV: Speed up "having working core features" shared example by ~30% (#32666) 2025-05-10 06:56:12 +08:00
composer_uploads_spec.rb DEV: uses local playwright chromium for now (#32613) 2025-05-07 10:17:25 +02: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 FIX: Add back the option to create invite without emailing (#29641) 2024-11-08 07:59:24 +03:00
csv_exports_spec.rb DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06: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
discovery_breadcrumb_navigation_spec.rb FEATURE: Show remaining count in category-drop (#25938) 2024-03-07 16:14:50 +02: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 FIX: when new new is enabled, filter dismiss modal to correct type (#33037) 2025-06-03 09:47:06 -04:00
drafts_dropdown_spec.rb FIX: enable drafts dropdown on private categories (#32370) 2025-04-18 17:38:35 +04:00
edit_category_form_templates_spec.rb UX: Add group link to category permission row (#28560) 2024-08-28 16:11:16 +10:00
edit_category_localizations_spec.rb FEATURE: Set category localizations in category settings (#32412) 2025-04-24 10:48:35 +08:00
edit_category_security_spec.rb DEV: Fix random typos (#30023) 2024-12-02 07:34:05 +08:00
editing_sidebar_categories_navigation_spec.rb DEV: replace selenium driver with playwright (#31977) 2025-05-06 10:44:14 +02:00
editing_sidebar_community_section_spec.rb DEV: replace selenium driver with playwright (#31977) 2025-05-06 10:44:14 +02: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: replace selenium driver with playwright (#31977) 2025-05-06 10:44:14 +02:00
filtering_topics_spec.rb DEV: Remove experimental_topics_filter setting (#29902) 2024-11-25 10:49:40 -05:00
flagging_post_spec.rb FIX: incorrect flag message when en_GB language (#32191) 2025-04-10 08:06:52 +08: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 FEATURE: Show when a badge has been granted for a post (#29696) 2024-12-03 13:43:27 +11:00
group_activity_spec.rb DEV: Update rubocop-discourse to latest version 2024-03-04 15:08:35 +01:00
group_card_spec.rb DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
hashtag_autocomplete_spec.rb FEATURE: add icons and emojis to category (#31795) 2025-03-26 09:46:17 +04:00
header_search_spec.rb DEV: Refactor tests & add animation (#32547) 2025-05-15 13:10:29 -05:00
header_spec.rb DEV: replace selenium driver with playwright (#31977) 2025-05-06 10:44:14 +02:00
homepage_spec.rb DEV: Fix flaky system test (#31822) 2025-03-14 16:10:48 +08:00
interface_color_selector_spec.rb FEATURE: Dark/light mode selector (#31086) 2025-02-07 03:28:34 +03:00
keyboard_shortcuts_spec.rb FIX: do not show confirmation modal (#31304) 2025-02-12 17:04:08 +01:00
login_spec.rb DEV: signup/login spec cleanup (#32867) 2025-05-23 09:17:37 -04: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 FIX: remove admin_sidebar_enabled_groups setting (#31693) 2025-03-11 11:41:38 +11: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
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 UX: Remove enable_quote_copy site setting (#31191) 2025-02-06 10:31:10 +10:00
post_selection_fast_edit_spec.rb FIX: fast edit with a typographic character 2024-12-10 12:13:10 +01:00
post_small_action_spec.rb FIX: Consistent search shortcuts (#32099) 2025-04-04 11:54:46 +10:00
post_translation_spec.rb DEV: Post localization improvements (#32869) 2025-05-27 08:49:53 -07:00
posts_page_spec.rb UX: Improvements to posts route (#30968) 2025-01-23 19:04:43 -08: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: replace selenium driver with playwright (#31977) 2025-05-06 10:44:14 +02:00
reviewables_spec.rb DEV: clean up review queue button classes (#32685) 2025-05-12 13:20:22 -04:00
s3_secure_uploads_spec.rb DEV: Combine S3 system spec helpers into one (#29580) 2024-11-05 09:28:14 +10:00
s3_uploads_spec.rb DEV: skips s3 multipart spec (#32780) 2025-05-17 15:32:22 +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 FIX: rely on capybara waiters (#32789) 2025-05-18 23:08:19 +02:00
search_spec.rb Revert UX: header search mobile support (#32748) 2025-05-15 14:27:40 +02:00
signup_spec.rb DEV: signup/login spec cleanup (#32867) 2025-05-23 09:17:37 -04:00
social_authentication_spec.rb FIX: Unblock social signup when name is required and `auth overrides… (#32923) 2025-05-27 08:26:38 -04:00
table_builder_spec.rb DEV: Upgrade the post widgets to Glimmer components (#31375) 2025-03-26 18:53:46 -03:00
tag_edit_spec.rb UX: Fix tag revert rename 404 error (#31049) 2025-01-30 10:06:55 +10:00
tag_notification_level_spec.rb DEV: replaces topic-notifications-options by DMenu (#30298) 2024-12-16 19:59:18 +01:00
tag_synonyms_spec.rb
tag_view_spec.rb FIX: Refresh the edit tag section when navigating to another tag (#28519) 2024-08-23 20:08:24 +03:00
tags_intersection_spec.rb
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 FIX: Archiving messages from group inbox (#32166) 2025-04-04 16:05:43 +08:00
topic_list_focus_spec.rb DEV: Remove flaky spec (#24795) 2023-12-08 11:43:17 -05:00
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 FIX: Bookmark search input can't be cleared with backspace with ?q= present (#31919) 2025-03-21 09:50:05 +08:00
user_activity_posts_spec.rb DEV: replace selenium driver with playwright (#31977) 2025-05-06 10:44:14 +02:00
user_invites_spec.rb FIX: Don't show that an existing user is invited_by another user (#27665) 2024-07-04 10:27:37 +08:00
user_selector_spec.rb DEV: replace selenium driver with playwright (#31977) 2025-05-06 10:44:14 +02:00
user_tips_spec.rb FIX: Show the last rendered user-tip (#29346) 2024-10-22 22:41:29 +02:00
viewing_category_spec.rb DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
viewing_group_members_spec.rb DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
viewing_navigation_menu_preferences_spec.rb DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
viewing_sidebar_as_anonymous_user_spec.rb
viewing_sidebar_mobile_spec.rb DEV: Fix various rubocop lints (#24749) 2023-12-06 23:25:00 +01:00
viewing_sidebar_spec.rb DEV: Refactor forcing admin sidebar logic in hamburger nav mode (#32257) 2025-04-17 22:36:38 -05: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: Fix ember/no-private-routing-service (#24009) 2023-11-29 12:26:52 +01:00
welcome_banner_spec.rb UX: Fix various search shortcut UX issues (#31903) 2025-03-21 09:20:58 +10:00
wizard_spec.rb DEV: Remove branding and styling steps from wizard (#32797) 2025-05-21 09:46:49 +08:00