discourse/spec/system/page_objects/modals
Martin Brennan 6b3c438516
FIX: Show 'Show more' link in categories modal after intersection observer loads (#34516)
When the categories modal dynamically loaded more subcategories via
intersection
observer, the "Show more" link wasn't appearing even when a category had
exactly 5 subcategories. This happened because the partial category
detection
was only checking the newly loaded batch of categories rather than
recalculating across the full combined set.

This commit fixes the issue by:

1. Recalculating the `partialCategoryInfos` using the full set of
categories
   in both `concatFetchedCategories` and `substituteInFetchedCategories`
2. Adding a system test that verifies the "Show more" link appears
correctly
   after the intersection observer loads additional subcategories

The core issue was that we needed to reconsider the entire category tree
after
each load operation to properly identify parents with exactly 5
subcategories.
2025-08-26 17:20:14 +10:00
..
admin_search.rb UX: simplify admin search, make more accessible (#32733) 2025-05-15 16:31:03 +10:00
anonoymous_flag.rb FEATURE: setting allowing tl0/anonymous flag illegal content (#30785) 2025-01-17 08:57:44 +11:00
avatar_selector.rb DEV: Add a Gravatar enable/disable toggle (#33533) 2025-07-10 15:09:32 +08:00
badge.rb DEV: lint against Layout/EmptyLineBetweenDefs (#24914) 2023-12-15 23:46:04 +08:00
base.rb DEV: Modernize the post menu from widgets to Glimmer components (#28670) 2024-11-11 15:36:08 -03:00
bookmark.rb DEV: replace selenium driver with playwright (#31977) 2025-05-06 10:44:14 +02:00
bulk_user_delete_confirmation.rb DEV: replace selenium driver with playwright (#31977) 2025-05-06 10:44:14 +02:00
change_owner.rb DEV: lint against Layout/EmptyLineBetweenDefs (#24914) 2023-12-15 23:46:04 +08:00
confirm_session.rb FIX: Reset password link broken for non-staff user in confirm session dialog (#32765) 2025-05-16 15:09:03 +08:00
create_color_palette.rb FEATURE: Add color palette list selection to new UI (#32379) 2025-05-05 05:12:50 +03:00
create_invite.rb FIX: Add back the option to create invite without emailing (#29641) 2024-11-08 07:59:24 +03:00
delete_themes_confirm.rb UX: refactor .d-modal to use BEM and improve styling (#23967) 2023-11-15 10:14:47 +00:00
discard_draft.rb FEATURE: add drafts dropdown menu (#30277) 2025-01-13 13:33:57 +04:00
dismiss_new.rb FIX: when new new is enabled, filter dismiss modal to correct type (#33037) 2025-06-03 09:47:06 -04:00
flag.rb DEV: Simplify "Admin Flags Page" system test to reduce runtime duration (#32431) 2025-04-24 15:47:22 +08:00
insert_table.rb DEV: Attempt to fix flaky test by using click_button instead of click (#25070) 2023-12-29 14:39:37 +08:00
install_theme.rb UX: Creating a new theme/component should redirect to theme edit route (#34353) 2025-08-19 11:30:44 +08:00
penalize_user.rb FIX: JS error when silencing and unsilencing the user (#33851) 2025-07-25 14:33:07 +08:00
post_history.rb FEATURE: Display locale change in post history modal (#33469) 2025-07-03 23:08:47 +08:00
private_message_invite.rb DEV: convert PrivateMessageMap widget to glimmer components (#25837) 2024-03-04 10:24:25 +08:00
private_message_remove_participant.rb DEV: convert PrivateMessageMap widget to glimmer components (#25837) 2024-03-04 10:24:25 +08:00
reject_reason_reviewable.rb UX: refactor .d-modal to use BEM and improve styling (#23967) 2023-11-15 10:14:47 +00:00
scrub_rejected_user.rb FEATURE: Allow rejected user details to be scrubbed (#31987) 2025-03-31 12:40:35 +11:00
sidebar_edit_categories.rb FIX: Show 'Show more' link in categories modal after intersection observer loads (#34516) 2025-08-26 17:20:14 +10:00
sidebar_edit_navigation_modal.rb DEV: replace selenium driver with playwright (#31977) 2025-05-06 10:44:14 +02:00
sidebar_edit_tags.rb FIX: Loading more tags in edit nav menu tags modal not working (#22770) 2023-07-25 13:44:25 +08:00
sidebar_section_form.rb UX: Update some delete confirmation dialogs (#33018) 2025-06-02 09:14:58 -04:00
topic_bulk_actions.rb FIX: Don't allow submitting bulk topic actions without a notification… (#33292) 2025-06-25 14:48:36 -06:00
upsert_hyperlink.rb FIX: composer link modal ENTER event (#33945) 2025-07-29 21:12:32 -03:00
view_translations_modal.rb DEV: Post localization improvements (#32869) 2025-05-27 08:49:53 -07:00