-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
Problem
test/integration/admin_topic_flows_test.rb:27 (test_can_view_topics_list_with_sorting) has been failing before the TopicBriefing work. It expects exactly 4 <tr> elements but finds 7.
Reproduction
bin/rails test test/integration/admin_topic_flows_test.rb:27Failure:
AdminTopicFlowsTest#test_can_view_topics_list_with_sorting [test/integration/admin_topic_flows_test.rb:30]:
Expected exactly 4 elements matching "tr", found 7.
Expected: 4
Actual: 7
Likely cause
The test's fixture/factory setup creates 3 topics (expecting 3 data rows + 1 header = 4 <tr>), but additional topics exist from other fixtures or the test setup, producing 7 rows total. The assertion needs to account for the actual fixture count or scope more precisely.
Files
test/integration/admin_topic_flows_test.rb:27-30
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels