Skip to content

refactor: remove traces and attachments from test case summary#258

Merged
PhenX merged 1 commit into
mainfrom
claude/remove-storage-block-test-summary-fl673g
Jul 16, 2026
Merged

refactor: remove traces and attachments from test case summary#258
PhenX merged 1 commit into
mainfrom
claude/remove-storage-block-test-summary-fl673g

Conversation

@PhenX

@PhenX PhenX commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

What & why

Removes the traces and attachments storage card from the TestCaseSummary component. This includes:

  • Removing TraceInfo and AttachmentInfo type imports
  • Removing traces and attachments props from the component
  • Removing the "Storage" card that displayed traces and attachments
  • Removing helper functions (attFileUrl, isImage, totalStorageSize, fileName) that were only used for rendering this card
  • Removing the props passed to TestCaseSummary in the test run cases page

The storage card display logic is being consolidated or moved elsewhere, simplifying the TestCaseSummary component to focus on core test case metadata.

How was it tested?

No testing needed — this is a straightforward refactor removing unused UI components and their supporting code. The component will continue to render all other cards (SCM info, CI info, browser, links) as before.

Checklist

  • PR title follows Conventional Commits
  • Removed unused code and props

https://claude.ai/code/session_01Rdhk8bsdrPdE7AEKTXFVbj

The summary header's Storage card duplicated data already shown elsewhere:
traces and every attachment (screenshots, videos, non-media files) appear
in the Failure evidence card on the Diagnosis tab for failing cases, and in
the Traces + Attachments cards on the Artifacts tab for passing cases.

Drop the block and its now-unused helpers (attFileUrl, isImage,
totalStorageSize, fileName, image ext/mime sets, runtime config) plus the
traces/attachments props threaded in from the page.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Rdhk8bsdrPdE7AEKTXFVbj
@github-actions

Copy link
Copy Markdown
Contributor

Coverage Report for Reporter (./reporter)

Status Category Percentage Covered / Total
🔵 Lines 63.89% 1446 / 2263
🔵 Statements 62.25% 1643 / 2639
🔵 Functions 70.43% 243 / 345
🔵 Branches 58.69% 1188 / 2024
File CoverageNo changed files found.
Generated in workflow #888 for commit 5a36ff3 by the Vitest Coverage Report Action

@github-actions

Copy link
Copy Markdown
Contributor

Coverage Report for Application (./application)

Status Category Percentage Covered / Total
🔵 Lines 23.57% 1815 / 7699
🔵 Statements 23.46% 2105 / 8970
🔵 Functions 22.53% 317 / 1407
🔵 Branches 20.14% 1437 / 7133
File CoverageNo changed files found.
Generated in workflow #888 for commit 5a36ff3 by the Vitest Coverage Report Action

@PhenX
PhenX merged commit 6f800d8 into main Jul 16, 2026
7 checks passed
@PhenX
PhenX deleted the claude/remove-storage-block-test-summary-fl673g branch July 16, 2026 16:19
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.

2 participants