Skip to content

Render optional tables from generic dashboard summaries - #23

Merged
zhaozhaozz merged 1 commit into
mainfrom
feat/issue-850-e2e-summary
Nov 6, 2026
Merged

zhaozhaozz merged 1 commit into
mainfrom
feat/issue-850-e2e-summary

Conversation

@zhaozhaozz

Copy link
Copy Markdown
Contributor

A test artifact can now carry an optional table inside dashboard-summary.json. The E2E page renders that table for any repository: declared columns, declared row order, and the producer's final display strings, escaped as text. The page does not recalculate tokens, memory, scores, or duration, and it does not branch on a repository name, workflow name, or artifact prefix.

A summary without table keeps the current counts-only view. A malformed table is omitted and does not invalidate otherwise valid counts. docs/test-reports.md documents this generic contract. Existing score history is unchanged.

Validation

On 8a305f80a4e5814b4e964ca2fd6b28b362c103c4:

  • PYTHONDONTWRITEBYTECODE=1 python3 -m unittest discover -s tests -p test_reports.py -v: 15 passed, 0 failed. This includes collection through a repository named acme/weather-service and an artifact named service-test-results, and it checks that private extra fields are not retained.
  • Before this commit was pushed, python3 -m unittest discover -s tests -v passed 170/170, and Playwright passed 32/32, including test/journey-summary-table.spec.cjs (5 passed) at 1440, 900, and 390 pixel widths.

This review re-ran the report parser tests on the same commit. The browser suite was run on this commit before push. The 390px check scrolls the table inside its region and keeps the page from growing wider than the viewport.

Release

User impact: when a test artifact includes table, the existing E2E page shows it. There is no new navigation path.

Compatibility and migration: summaries that omit table render as they do today.

@zhaozhaozz
zhaozhaozz merged commit 6728ce7 into main Nov 6, 2026
1 check passed
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