Merge branch 'feat/ui-polish'

This commit is contained in:
amosblomqvist
2026-09-24 16:07:55 +03:00
7 changed files with 72 additions and 29 deletions
+4
View File
@@ -170,6 +170,10 @@ describe("render smoke tests", () => {
assert.ok(html.includes('role="group"'), "checkbox group");
assert.ok((html.match(/role="checkbox"/g) ?? []).length >= 3, "options AND the Other row are checkboxes");
assert.ok(html.includes('data-testid="other-option"'), "Other is still an option row in multi-select");
// The bigger \u2713 glyph (text-base, 2026-09-24 owner round) only
// mounts on a CHECKED row — unreachable from the unselected static
// render, so it's live-verified (Playwright: 14px computed in the
// 16px box) instead of pinned here.
});
it("a malformed question input renders the quiet fallback, never a crash", () => {
+1 -1
View File
@@ -54,7 +54,7 @@ describe("CoverageMenuBody — the context-menu block", () => {
<CoverageMenuBody coverage={coverage()} extracting={false} onExtract={() => {}} />,
);
assert.ok(html.includes('data-testid="ctx-coverage"'), "the block carries its testid");
assert.match(html, /2k uncovered/);
assert.match(html, /2k tok uncovered/, "the unit is typed out — tok (owner refinement round)");
assert.match(html, /5 messages unextracted/);
assert.ok(html.includes('data-testid="ctx-extract"'), "the Extract affordance");
assert.ok(!html.includes('disabled=""'), "an uncovered session can extract (the disabled: utilities alone don't count)");