Skip to content

Agentic Checkbox: extend contract tests and non-input native coverage - #4412

Merged
Jason Morse (JasonVMo) merged 3 commits into
mainfrom
user/sriramas/checkbox-spec-tests
Oct 29, 2026
Merged

Jason Morse (JasonVMo) merged 3 commits into
mainfrom
user/sriramas/checkbox-spec-tests

Conversation

@srividyaramas

@srividyaramas srividyaramas commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Why

Adds regression coverage for Checkbox and non-input native checks for constrained label/secondary-text layout and accessible naming when the visible label is hidden. Input-dependent additions are deliberately kept out of this PR.

Testing

  • Adds 25 unit regression cases; the owning components-package unit suite and existing snapshots passed in the recorded local run.
  • Package build, lint, formatting, Storybook type-checking, and component contract checks passed in the recorded local validation.
  • 3 new non-input native Storybook checks passed on Win32 Paper/REX at this exact branch head.

Keyboard, pointer, and wheel input were disabled for that native run. Existing input-dependent skips are not counted as passes. Native macOS results are recorded below; Windows Fabric native qualification is not asserted here.

Input-dependent authored additions are held on a separate branch and are not included here.

The local results and subsequent CI verification are scoped below; no all-platform or overall readiness claim is made. The Windows tooling repair landed separately in #4400 and is not included in this PR.

Native test follow-up

The hidden-label check now reads the native accessible name directly. Native text can report the checkbox's state/value on macOS, so it is not a portable name query. Exact name assertions and the separate native checked-state assertions remain; component runtime code is unchanged.

At commit 3e021ed768d5ad8d55f007d45b1f74810c8af727, package build, lint, formatting, Storybook type-checking, contract checks, 586 owning-package unit cases, and 8 snapshots passed. All 3 authored non-input callbacks passed in the exact-head Win32 run; the existing input-dependent callback remained explicitly skipped. Combined macOS/Windows bundles passed.

CI is now passing on this head, including JS, legacy Win32, both native macOS renderers, and CLA. Downloaded Fabric and Paper reports each confirm all 3 authored callbacks passed, with no authored skips, retries, or flakiness. Other catalog capability skips remain unqualified.

The final cache-cleared combined root aggregate did not pass: an unchanged Storybook sourceConfig subprocess exceeded its existing 10-second limit. The same failure reproduced on the original tooling baseline; focused sourceConfig tests passed. No timeout or concurrency setting was changed. This is not a root-aggregate-green claim.

SriRamas23 and others added 2 commits October 26, 2026 18:20
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 4b66f3ef-85ac-4405-bd35-dcc167a077b1
Preserve deferred pointer and keyboard cases on checkbox-input-tests-held.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 4b66f3ef-85ac-4405-bd35-dcc167a077b1
@github-actions

github-actions Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Bundle size report

Tree-shaken, minified production esbuild bundles with React and React Native runtimes externalized.

Scenario Modules-Mac (Δ) Modules-Win (Δ) Size-Mac (Δ) Size-Win (Δ)
components-button 64 (+0) 65 (+0) 50.63k (+0b) 50.55k (+0b)
components-catalog 214 (+0) 215 (+0) 205.49k (+0b) 205.41k (+0b)
design-theme-state 34 (+0) 35 (+0) 30.15k (+0b) 30.08k (+0b)
design-themed-root 38 (+0) 39 (+0) 32.12k (+0b) 32.04k (+0b)
design-color-lib 6 (+0) 6 (+0) 6.33k (+0b) 6.33k (+0b)
design-theme-state-legacy-source 35 (+0) 36 (+0) 31.81k (+0b) 31.73k (+0b)
design-legacy-theme-from-flex 58 (+0) 59 (+0) 97.77k (+0b) 97.63k (+0b)

The job is advisory: size changes are reported but do not fail the pull request. Bundle or analysis errors still fail.


View bundle-size workflow run

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 4b66f3ef-85ac-4405-bd35-dcc167a077b1
@JasonVMo
Jason Morse (JasonVMo) merged commit c20d90d into main Oct 29, 2026
18 checks passed
@JasonVMo
Jason Morse (JasonVMo) deleted the user/sriramas/checkbox-spec-tests branch October 29, 2026 19:22
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.

3 participants