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
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
..
actions SECURITY: private category channels are not included (#36716) 2025-12-16 11:07:40 +01:00
requests FIX: Only actually fetch initial report count in Rewind (#36940) 2026-01-05 09:34:26 +10:00
serializers FIX: Do not show rewind for new users (#37205) 2026-01-20 17:44:19 +10:00
services FIX: Only actually fetch initial report count in Rewind (#36940) 2026-01-05 09:34:26 +10:00
system DEV: Add system test for discourse-rewind most-viewed-tags report (#37303) 2026-01-26 15:25:16 +08:00
plugin_helper.rb