0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-07 13:19:19 +08:00
discourse/plugins/discourse-solved/spec/system
Alan Guo Xiang Tan ecbe21683c
DEV: Add system tests for discourse-solved tag-based functionality (#37304)
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
2026-01-26 14:06:24 +08:00
..
page_objects/components DEV: Add system tests for discourse-solved tag-based functionality (#37304) 2026-01-26 14:06:24 +08:00
core_features_spec.rb
solved_spec.rb UX: Preserve formatting in solution excerpts (#36552) 2025-12-11 15:23:10 +01:00
solved_with_tags_spec.rb DEV: Add system tests for discourse-solved tag-based functionality (#37304) 2026-01-26 14:06:24 +08:00