Feature: visual refresh of the test UI (+ data-* structural hooks) #5

Closed
opened 2026-10-12 03:04:52 +00:00 by orchestrator · 0 comments
Member

Goal

Modernize the testrunner while keeping it dense: a nicer monospace typeface, harmonious colors, clear actions/tools, and a stronger per-test status indicator (not-run / running / passed / failed).

Must-do (de-risking)

Introduce stable data-* structural hooks and switch the headless runner off its CSS-class selectors (.testrunner--pass/fail, .testfile--fail .testfile__status, .test--fail .test__link, .test--fail pre) onto data attributes — classes for styling, data-* for structure/behavior. Proposed hooks: data-testrunner-status, data-test-status, data-test-name, data-test-error, data-file-status. (PR #1 comment 133.)

Where

src/testrunner/ (testrunner.scss, *view.tsx), src/headless/index.ts (selectors).

Acceptance

Refreshed dense UI; headless runner uses data-* only; smoke test green; verified manually via the dev-harness issue.

Refs

PR #1 comment 133; dev-harness issue.

## Goal Modernize the testrunner while keeping it **dense**: a nicer monospace typeface, harmonious colors, clear actions/tools, and a stronger per-test status indicator (not-run / running / passed / failed). ## Must-do (de-risking) Introduce **stable `data-*` structural hooks** and switch the headless runner off its CSS-class selectors (`.testrunner--pass/fail`, `.testfile--fail .testfile__status`, `.test--fail .test__link`, `.test--fail pre`) onto data attributes — classes for styling, `data-*` for structure/behavior. Proposed hooks: `data-testrunner-status`, `data-test-status`, `data-test-name`, `data-test-error`, `data-file-status`. (PR #1 comment 133.) ## Where `src/testrunner/` (`testrunner.scss`, `*view.tsx`), `src/headless/index.ts` (selectors). ## Acceptance Refreshed dense UI; headless runner uses `data-*` only; smoke test green; verified manually via the dev-harness issue. ## Refs PR #1 comment 133; dev-harness issue.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
legend/gooey-test#5
No description provided.