Repository navigation
Closed
Labels
area: ui-kitThe presentational design kit: components, tokens, Storybook, visual baselines.priority: p1Scheduled into the current or next milestone.type: testCoverage, harness or proof work with no behaviour change.
Milestone
Description
Batch e3855-ui-kit-04 of the test-health push (#3855): 67 packages/ui-kit files (unit tests, browser tests and voice/states stories), audited in 35 clusters through all eight lenses (run th-20261110163815-cd4f39).
Fixed findings
tests/fixtures.test.ts,empty-by-construction×2: the phone and email checks asserted only inside a non-null guard, so a roster with no phones or emails passed. Each now requires at least one first.tests/fixtures.test.ts,conditional-assertion: the column-width check returned early for a partly pinned table and ran with zero assertions. It now asserts unconditionally.tests/fixtures.test.ts,opaque-failure×2:Set.has(...) toBe(true)checks now usetoContain, so a failure names the missing path or tag.tests/print-theme.test.ts,opaque-failure:startsWithboolean replaced by a string comparison.tests/hygiene-card-copy.test.tsx,wrong-object: the state text and the busy label shared one string, and the test only asserted the default was absent. A card that droppedbusyLabelstill passed. The strings now differ and the label must appear.tests/transcript-qualifiers.test.tsx,nothing-to-observe: dropping the restored qualifier's glyph went unnoticed, because only the separately built accessible name was read. The three glyphs are now pinned.tests/visual/ghost-sweep.visual.tsx,conditional-assertion: the copy-identity checks looped over unsized copies. A window that lost its snapshot passed.stories/voice/Live.stories.tsx,conditional-assertion:interruptOnlyWhileSpeakingreturned early when Interrupt was missing, soL4 Speakingpassed without the control.stories/voice/Start.stories.tsx,nothing-to-observe:PersonaKeyboardclaimed arrow-key movement but pressed no key.tests/visual/hygiene-review.visual.tsxandtests/visual/composer-caret.visual.tsx,opaque-failure: boolean comparisons replaced by value comparisons.
Left open
- Deferred
matrix-multiplierintests/visual/contact-card-fact-keys.visual.tsxandtests/visual/files-close.visual.tsx. The theme only switchescolor-scheme, so the light copies of the geometry and naming cases have no failure mode of their own. Reducing them needs every removed template-titled case declared, so they are left for a dedicated reduction.
Metadata
Metadata
Assignees
Labels
area: ui-kitThe presentational design kit: components, tokens, Storybook, visual baselines.priority: p1Scheduled into the current or next milestone.type: testCoverage, harness or proof work with no behaviour change.
Activity
schlessera commentedon Nov 11, 2026
Delivered by #3875, which passed its
proofon its own head and merged intoepic/3855-test-healthasfcc7f99ce(the push in #3855). GitHub does not applyClosesfor a pull request into a non-default branch, so I'm closing this by hand. The change reachesmainwith the epic's single landing pull request.