mirror of
https://github.com/discourse/discourse.git
synced 2026-08-06 13:08:40 +08:00
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?`.
|
||
|---|---|---|
| .. | ||
| actions | ||
| requests | ||
| serializers | ||
| services | ||
| system | ||
| plugin_helper.rb | ||