Repository navigation
test(fixtures): pickers and menus: DropdownButton and PopupMenuButton on Flutter 3.44.8 and 3.50.0 (draft) - #903
Merged
Merged
Conversation
…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
marked this pull request as ready for review
November 18, 2026 19:45
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Pickers and menus, first two widgets:
DropdownButtonandPopupMenuButton, assessed on Flutter 3.44.8 and Flutter 3.50.0. This is a draft so that it is reviewed before it is merged.pickersscreen in the Flutter fixture app (PROBE_FIXTURE_WIDGETS=pickers): aDropdownButtonwith a hint, a disabled one with the id on the control and one with the id on a wrapper only; threePopupMenuButtons (a text child, the default icon with a tooltip, a disabled one). Every state a test checks is also shown as text, andItem tapscounts every tap on a dropdown item.probe-tests/widgets/pickers.probe, 17 tests) and 12 negative variants (probe-tests/negative/pickers.probe.expect-fail, each with its expected message; three are known gaps, a correct step that fails today: issue agent: is enabled passes on a disabled Radio, CupertinoButton, Slider or DropdownButton (controls the agent cannot read) #864).mainat15fba797(issue agent: on Flutter 3.50 the children of an IndexedStack that are not shown, and the items of a closed DropdownButton, are seen (seepasses,don't seefails) #900), the items of a closedDropdownButtonwere seen (aDropdownButtonkeeps them in anIndexedStack). It is fixed by fix(agent): a widget under an IndexedStack child that is not shown is not visible, in Flutter 3.44 and 3.50 (#900) #901 (squash2fb46d90). The suite asserts it again, as its first test, and gets the same result on both versions.native-test-apps/flutter/test/pickers_indexed_stack_regression_test.dartruns the same check on the pickers screen and on a plainIndexedStack(by hand, once with each Flutter; no device; CI does not run it). It is a different file from the agent's ownprobe_agent/test/indexed_stack_hidden_test.dart.fixtureanddevice testset;typeandscrollstay "not assessed"), a new section, a run paragraph, and the sentence from fix(agent): a widget under an IndexedStack child that is not shown is not visible, in Flutter 3.44 and 3.50 (#900) #901 that said the row stays "not assessed" is brought up to date.NEXT.mditem 2 is "half done". The count of "not assessed" cells goes from 10 onmainto 5, recounted from the family table with a script that reads the exact cell text. CHANGELOG, last bullet of Added.Results (Android emulator
ProbeWebViewSpike, Android 15, API 35)Builds with the agent of
mainat2fb46d90(the fix of #900). The agent change of #902 (a barescrollskips pages anIndexedStackdoes not show) landed after these runs and was not in the builds; the suite uses no barescroll, so it does not exercise it.pickers.probeEvery negative failed at its own step with the message in its comment, on both builds. 58
restart the appsteps (29 per build), none failed inbefore 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;
tapby tooltip and by id open a popup menu; a disabled dropdown and a disabled popup menu open nothing;is disableddoes not read them (#864);see #id containsreads "" for them.Checked
pickers_indexed_stack_regression_test.dartpasses 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).mainby takingmain's version and re-adding the Pickers class and its two registry lines; it analyzes cleanly and is formatted.go test ./scripts/;make ci-localand the disclosure scan: see the head.Not checked / limits
DatePickerDialog,showTimePicker,CupertinoPicker,DropdownMenu,MenuAnchor, long popup menus, keyboard navigation and type-ahead are not covered (listed in the matrix).IndexedStackof tab pages was made on a device.Docs
The matrix,
NEXT.mdand the CHANGELOG are updated here; the website and the wiki do not describe this fixture family, so they do not change.Test plan
make ci-local, disclosure scan clean