Skip to content

fix(reporting): correct selector for parsed output toggle button#124

Merged
ChristopherJHart merged 1 commit into
mainfrom
fix/toggle-parsed-output-button
May 30, 2026
Merged

fix(reporting): correct selector for parsed output toggle button#124
ChristopherJHart merged 1 commit into
mainfrom
fix/toggle-parsed-output-button

Conversation

@ChristopherJHart
Copy link
Copy Markdown
Contributor

Summary

  • Fix the "Show Parsed Output" button in test case detail pages — it was a no-op because toggleCommandView() used button.closest('.command-card') but the actual wrapper element has class .command-detail

Test plan

  • All existing tests pass
  • Visually verified: button now toggles between raw and parsed output views in the report

🤖 Generated with Claude Code

The toggleCommandView() function was using `.command-card` which doesn't
exist in the template — the actual wrapper element uses `.command-detail`,
causing the button to silently no-op on every click.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ChristopherJHart ChristopherJHart merged commit 47f9941 into main May 30, 2026
24 checks passed
@ChristopherJHart ChristopherJHart deleted the fix/toggle-parsed-output-button branch May 30, 2026 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant