0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 13:08:40 +08:00
discourse/plugins/discourse-rewind/spec/system
Alan Guo Xiang Tan 2407504c31
DEV: Add system test for discourse-rewind most-viewed-tags report (#37303)
What is the problem?

The `most-viewed-tags` component in the discourse-rewind plugin has no
system test coverage. While there is a unit test for the backend service
`DiscourseRewind::Action::MostViewedTags`, the frontend component that
renders the tags was not tested end-to-end.

What is the solution?

Add a system test that verifies:
- The most-viewed-tags report renders on the rewind page
- Tags display with the correct `#tagname` format and link to
`/tag/{name}`

Also add supporting page object methods to `PageObjects::Pages::Rewind`:
`has_most_viewed_tags_report?` and `has_tag_in_report?`.
2026-01-26 15:25:16 +08:00
..
page_objects/pages DEV: Add system test for discourse-rewind most-viewed-tags report (#37303) 2026-01-26 15:25:16 +08:00
core_features_spec.rb
dismiss_spec.rb FIX: Do not show rewind for new users (#37205) 2026-01-20 17:44:19 +10:00
display_most_viewed_tags_spec.rb DEV: Add system test for discourse-rewind most-viewed-tags report (#37303) 2026-01-26 15:25:16 +08:00
rewind_profile_tab_spec.rb FIX: Do not show rewind for new users (#37205) 2026-01-20 17:44:19 +10:00
rewind_sharing_spec.rb FIX: Do not show rewind for new users (#37205) 2026-01-20 17:44:19 +10:00
rewind_tab_spec.rb FIX: Do not show rewind for new users (#37205) 2026-01-20 17:44:19 +10:00
user_preferences_spec.rb FIX: Do not show rewind for new users (#37205) 2026-01-20 17:44:19 +10:00