Skip to content

Agentic Dropdown: extend contract tests and non-input native coverage - #4414

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

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

Conversation

@srividyaramas

@srividyaramas srividyaramas commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Why

Adds unit coverage and non-input native Storybook checks for Dropdown. This PR tests the existing component; additional input-dependent tests remain separate.

Testing

  • Adds 14 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.
  • 2 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 empty-value assertion now requires exact null on macOS Fabric, where the renderer omits empty AXValue, and exact empty string on Paper and UIA. macOS must report a known renderer. A second non-input callback requires the selected option's nonempty native value (Banana) on every renderer, guarding against accidentally accepting missing populated values. Component runtime code is unchanged.

At commit 66154c0df2a677a24c3f7e44f356cf8e51e0d4b3, package build, lint, formatting, Storybook type-checking, contract checks, 575 owning-package unit cases, and 8 snapshots passed. Both authored non-input callbacks passed in the exact-head Win32 run; the 8 existing input-dependent callbacks 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 both 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:34
Exercise DRP-005 and DRP-011 action/no-op matrices and author DRP-007 recent-selection/fallback native focus cases with honest physical-input capability gates.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 4b66f3ef-85ac-4405-bd35-dcc167a077b1
Preserve deferred cases on dropdown-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 a82c68a into main Oct 29, 2026
18 checks passed
@JasonVMo
Jason Morse (JasonVMo) deleted the user/sriramas/dropdown-spec-tests branch October 29, 2026 19:21
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