Let candidates hide passed test results

IL
4h ago
+362-15

Passing cases can make failures harder to find in the results panel. Add an optional filter that hides passed cases while keeping failures and cases without an expected answer visible. Show all cases by default and preserve the complete results and totals when the filter changes.

Filter off: all test results are visible.
2026-10-17_11-40
Filter on: passed tests are hidden; failures remain visible.
2026-10-17_11-40_1


Summary by cubic

Adds a "Hide passed tests" checkbox to the candidate results panel so failures, observations, and setup errors stay visible when passed cases are filtered out.

  • Show all cases by default; toggling the filter re-renders only the results list without re-running tests or changing totals.
  • Run shortcuts (Ctrl+Enter and Meta+Enter) still trigger a run while the checkbox is focused, and filtered output shows how many passed tests are hidden and omits empty lists.
  • Results markup now lives in a new #results-content element, with the filter UI in #results-body.