mirror of
https://github.com/discourse/discourse.git
synced 2026-08-07 13:19:19 +08:00
What is the problem? The discourse-solved plugin allows enabling solved functionality on topics with specific tags via `enable_solved_tags` setting, but this feature lacks system test coverage. What is the solution? Add system tests that verify: - Topics with enabled solved tags show the accept answer button - Topics without enabled solved tags do not show the accept answer button - The solved status filter on tag pages correctly filters solved/unsolved topics This includes two new page object components: - `PostSolvedButton` for interacting with the accept/accepted answer buttons - `SolvedStatusFilter` for interacting with the solved status dropdown filter |
||
|---|---|---|
| .. | ||
| page_objects/components | ||
| core_features_spec.rb | ||
| solved_spec.rb | ||
| solved_with_tags_spec.rb | ||