Skip to content

test(fixtures): pickers and menus: DropdownButton and PopupMenuButton on Flutter 3.44.8 and 3.50.0 (draft) - #903

Merged
pbertsch merged 9 commits into
mainfrom
test/compat-pickers-menus
Nov 18, 2026
Merged

pbertsch merged 9 commits into
mainfrom
test/compat-pickers-menus

Conversation

@pbertsch

@pbertsch pbertsch commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Summary

Pickers and menus, first two widgets: DropdownButton and PopupMenuButton, assessed on Flutter 3.44.8 and Flutter 3.50.0. This is a draft so that it is reviewed before it is merged.

Results (Android emulator ProbeWebViewSpike, Android 15, API 35)

Builds with the agent of main at 2fb46d90 (the fix of #900). The agent change of #902 (a bare scroll skips pages an IndexedStack does not show) landed after these runs and was not in the builds; the suite uses no bare scroll, so it does not exercise it.

Flutter 3.44.8 Flutter 3.50.0
pickers.probe 17 of 17 passed 17 of 17 passed
negative file 0 passed, 12 failed 0 passed, 12 failed

Every negative failed at its own step with the message in its comment, on both builds. 58 restart the app steps (29 per build), none failed in before each test (issue #823's rate, about 1 in 25, predicts about 2; one suite at a time on a no-window emulator, load not measured, so this does not show the failure is gone).

An earlier version of the suite (16 tests, 11 negatives, no assertion about the closed dropdown's items) was run with the agent at 15fba797, before the fix: 16 of 16 and 11 of 11 on both builds. That run found issue #900; it is not the current result.

Findings (in the matrix): a tap on a widget under an open menu lands on the barrier (the menu closes, the widget is not pressed); a tap on the name of the chosen value in the open menu reaches the menu item, not the button under it; tap by tooltip and by id open a popup menu; a disabled dropdown and a disabled popup menu open nothing; is disabled does not read them (#864); see #id contains reads "" for them.

Checked

  • Both Flutter versions were run for real, as above (the 3.50.0 build in a scratch copy with a private SDK).
  • pickers_indexed_stack_regression_test.dart passes on both versions with the fixed agent; with the agent before the fix it failed on 3.50.0 (run once, before the rework of the test).
  • The family file was merged with main by taking main's version and re-adding the Pickers class and its two registry lines; it analyzes cleanly and is formatted.
  • A clean clone of the branch passes go test ./scripts/; make ci-local and the disclosure scan: see the head.

Not checked / limits

  • Android only; iOS, a physical device and other API levels were not run. DatePickerDialog, showTimePicker, CupertinoPicker, DropdownMenu, MenuAnchor, long popup menus, keyboard navigation and type-ahead are not covered (listed in the matrix).
  • No test on an app with an IndexedStack of tab pages was made on a device.

Docs

The matrix, NEXT.md and the CHANGELOG are updated here; the website and the wiki do not describe this fixture family, so they do not change.

Test plan

  • device runs above (both Flutter versions), negative file
  • regression test on both versions
  • make ci-local, disclosure scan clean
  • Review

…e and negatives; Flutter 3.50 results not yet handled

Local only, not pushed: on Flutter 3.50.0 the agent sees the items of a closed DropdownButton (3 negatives pass, 6 positive tests fail); 3.44.8 is 17 of 17 and 15 of 15.
…n-neutral suite run on Flutter 3.44.8 and 3.50.0, and the matrix section
… is asserted again (fixed in #901), and the fixture test is a regression test
…fix; the finding is dated and attributed to the earlier agent
@pbertsch pbertsch changed the title test(fixtures): pickers and menus: DropdownButton and PopupMenuButton on Flutter 3.44.8 and 3.50.0, with the IndexedStack finding (draft) test(fixtures): pickers and menus: DropdownButton and PopupMenuButton on Flutter 3.44.8 and 3.50.0 (draft) Nov 18, 2026
@pbertsch
pbertsch marked this pull request as ready for review November 18, 2026 19:45
@pbertsch
pbertsch requested a review from a team as a code owner November 18, 2026 19:45
@pbertsch
pbertsch merged commit 6ad0b8d into main Nov 18, 2026
13 of 14 checks passed
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.

1 participant