Repository navigation
In review
flutter/packages
#13779In review
Copy link
Labels
Description
Only fails in CI
Test Case '-[RunnerUITests.ImagePickerFromGalleryUITests testCancel]' started.
t = 0.01s Start Test at 2026-11-20 11:00:52.300
t = 0.15s Set Up
t = 0.16s Open dev.flutter.plugins.imagePickerExample
t = 0.16s Launch dev.flutter.plugins.imagePickerExample
2026-11-20 11:00:52.732 xcodebuild[54233:474216] [MT] IDELaunchParametersSnapshot: debugger version lookup failed for path '<nil>': noURL
2026-11-20 11:00:52.732 xcodebuild[54233:474216] [MT] IDELaunchParametersSnapshot: no debugger version
t = 1.26s Setting up automation session
t = 4.50s Wait for dev.flutter.plugins.imagePickerExample to idle
t = 6.66s Waiting 30.0s for "image_picker_example_from_gallery" Other to exist
t = 7.71s Checking `Expect predicate `existsNoRetry == 1` for object "image_picker_example_from_gallery" Other`
t = 7.71s Checking existence of `"image_picker_example_from_gallery" Other`
t = 7.76s Tap "image_picker_example_from_gallery" Other
t = 7.76s Wait for dev.flutter.plugins.imagePickerExample to idle
t = 7.76s Find the "image_picker_example_from_gallery" Other
t = 7.78s Check for interrupting elements affecting "image_picker_example_from_gallery" Other
t = 7.80s Synthesize event
t = 8.37s Wait for dev.flutter.plugins.imagePickerExample to idle
t = 8.38s Waiting 30.0s for "PICK" Button to exist
t = 9.41s Checking `Expect predicate `existsNoRetry == 1` for object "PICK" Button`
t = 9.41s Checking existence of `"PICK" Button`
t = 9.45s Capturing element debug description
t = 10.40s Checking `Expect predicate `existsNoRetry == 1` for object "PICK" Button`
t = 10.41s Checking existence of `"PICK" Button`
t = 10.42s Capturing element debug description
t = 11.39s Checking `Expect predicate `existsNoRetry == 1` for object "PICK" Button`
t = 11.39s Checking existence of `"PICK" Button`
t = 11.41s Capturing element debug description
t = 12.38s Checking `Expect predicate `existsNoRetry == 1` for object "PICK" Button`
t = 12.38s Checking existence of `"PICK" Button`
t = 12.40s Capturing element debug description
t = 13.41s Checking `Expect predicate `existsNoRetry == 1` for object "PICK" Button`
t = 13.41s Checking existence of `"PICK" Button`
t = 13.43s Capturing element debug description
t = 14.39s Checking `Expect predicate `existsNoRetry == 1` for object "PICK" Button`
t = 14.39s Checking existence of `"PICK" Button`
t = 14.44s Capturing element debug description
t = 15.40s Checking `Expect predicate `existsNoRetry == 1` for object "PICK" Button`
t = 15.40s Checking existence of `"PICK" Button`
t = 15.44s Capturing element debug description
t = 16.41s Checking `Expect predicate `existsNoRetry == 1` for object "PICK" Button`
t = 16.41s Checking existence of `"PICK" Button`
t = 16.45s Capturing element debug description
t = 17.41s Checking `Expect predicate `existsNoRetry == 1` for object "PICK" Button`
t = 17.41s Checking existence of `"PICK" Button`
t = 17.46s Capturing element debug description
t = 18.41s Checking `Expect predicate `existsNoRetry == 1` for object "PICK" Button`
t = 18.41s Checking existence of `"PICK" Button`
t = 18.45s Capturing element debug description
t = 19.42s Checking `Expect predicate `existsNoRetry == 1` for object "PICK" Button`
t = 19.42s Checking existence of `"PICK" Button`
t = 19.46s Capturing element debug description
t = 20.40s Checking `Expect predicate `existsNoRetry == 1` for object "PICK" Button`
t = 20.41s Checking existence of `"PICK" Button`
t = 20.45s Capturing element debug description
t = 21.40s Checking `Expect predicate `existsNoRetry == 1` for object "PICK" Button`
t = 21.41s Checking existence of `"PICK" Button`
t = 21.45s Capturing element debug description
t = 22.40s Checking `Expect predicate `existsNoRetry == 1` for object "PICK" Button`
t = 22.41s Checking existence of `"PICK" Button`
t = 22.45s Capturing element debug description
t = 23.39s Checking `Expect predicate `existsNoRetry == 1` for object "PICK" Button`
t = 23.39s Checking existence of `"PICK" Button`
t = 23.44s Capturing element debug description
t = 24.39s Checking `Expect predicate `existsNoRetry == 1` for object "PICK" Button`
t = 24.39s Checking existence of `"PICK" Button`
t = 24.44s Capturing element debug description
t = 25.39s Checking `Expect predicate `existsNoRetry == 1` for object "PICK" Button`
t = 25.39s Checking existence of `"PICK" Button`
t = 25.44s Capturing element debug description
t = 26.39s Checking `Expect predicate `existsNoRetry == 1` for object "PICK" Button`
t = 26.39s Checking existence of `"PICK" Button`
t = 26.44s Capturing element debug description
t = 27.40s Checking `Expect predicate `existsNoRetry == 1` for object "PICK" Button`
t = 27.41s Checking existence of `"PICK" Button`
t = 27.45s Capturing element debug description
t = 28.40s Checking `Expect predicate `existsNoRetry == 1` for object "PICK" Button`
t = 28.41s Checking existence of `"PICK" Button`
t = 28.45s Capturing element debug description
t = 29.40s Checking `Expect predicate `existsNoRetry == 1` for object "PICK" Button`
t = 29.40s Checking existence of `"PICK" Button`
t = 29.45s Capturing element debug description
t = 30.40s Checking `Expect predicate `existsNoRetry == 1` for object "PICK" Button`
t = 30.41s Checking existence of `"PICK" Button`
t = 30.45s Capturing element debug description
t = 31.40s Checking `Expect predicate `existsNoRetry == 1` for object "PICK" Button`
t = 31.41s Checking existence of `"PICK" Button`
t = 31.45s Capturing element debug description
t = 32.41s Checking `Expect predicate `existsNoRetry == 1` for object "PICK" Button`
t = 32.41s Checking existence of `"PICK" Button`
t = 32.45s Capturing element debug description
t = 33.40s Checking `Expect predicate `existsNoRetry == 1` for object "PICK" Button`
t = 33.41s Checking existence of `"PICK" Button`
t = 33.45s Capturing element debug description
t = 34.40s Checking `Expect predicate `existsNoRetry == 1` for object "PICK" Button`
t = 34.41s Checking existence of `"PICK" Button`
t = 34.43s Capturing element debug description
t = 35.40s Checking `Expect predicate `existsNoRetry == 1` for object "PICK" Button`
t = 35.40s Checking existence of `"PICK" Button`
t = 35.45s Capturing element debug description
t = 36.40s Checking `Expect predicate `existsNoRetry == 1` for object "PICK" Button`
t = 36.41s Checking existence of `"PICK" Button`
t = 36.45s Capturing element debug description
t = 37.40s Checking `Expect predicate `existsNoRetry == 1` for object "PICK" Button`
t = 37.40s Checking existence of `"PICK" Button`
t = 37.43s Capturing element debug description
t = 38.38s Checking `Expect predicate `existsNoRetry == 1` for object "PICK" Button`
t = 38.38s Checking existence of `"PICK" Button`
t = 38.42s Capturing element debug description
t = 38.42s Checking existence of `"PICK" Button`
t = 38.45s Collecting debug information to assist test failure triage
t = 38.45s Requesting snapshot of accessibility hierarchy for app with pid 55013
t = 38.47s Requesting snapshot of accessibility hierarchy for app with pid 55013
t = 38.51s Requesting snapshot of accessibility hierarchy for app with pid 55013
2026-11-20 11:01:30.816907-0800 RunnerUITests-Runner[54996:477082] Optional(Attributes: Application, 0x107c5fd40, pid: 55013, label: 'image_picker_example'
Element subtree:
→Application, 0x107c5fd40, pid: 55013, label: 'image_picker_example'
Window (Main), 0x107c5c780, {{0.0, 0.0}, {390.0, 844.0}}
Other, 0x107c5c280, {{0.0, 0.0}, {390.0, 844.0}}
Other, 0x104e2f0c0, {{0.0, 0.0}, {390.0, 844.0}}
Other, 0x104e2f340, {{0.0, 0.0}, {390.0, 844.0}}
Other, 0x104e2f480, {{0.0, 0.0}, {390.0, 844.0}}
Other, 0x104e2f5c0, {{0.0, 0.0}, {390.0, 844.0}}
Other, 0x104e2f840, {{0.0, 0.0}, {390.0, 844.0}}
Other, 0x104e2f980, {{0.0, 0.0}, {390.0, 844.0}}
Other, 0x104e2f700, {{0.0, 0.0}, {390.0, 844.0}}
Other, 0x104e2d040, {{0.0, 0.0}, {390.0, 844.0}}
Other, 0x104e2cf00, {{0.0, 0.0}, {390.0, 844.0}}
Other, 0x109b54000, {{0.0, 0.0}, {390.0, 844.0}}
Other, 0x109b54140, {{0.0, 0.0}, {390.0, 844.0}}
Other, 0x109b54280, {{0.0, 0.0}, {390.0, 103.0}}
StaticText, 0x109b543c0, {{94.4, 61.0}, {201.3, 28.0}}, label: 'Image Picker Example'
StaticText, 0x109b54500, {{78.5, 103.0}, {232.9, 20.0}}, label: 'You have not yet picked an image.'
Other, 0x109b54640, {{0.0, 0.0}, {390.0, 844.0}}
Other, 0x109b54780, {{145.5, 234.0}, {228.5, 56.0}}, label: 'image_picker_example_from_gallery'
Button, 0x109b548c0, {{145.5, 234.0}, {228.5, 56.0}}, label: 'Pick image from gallery
Pick image from gallery'
Button, 0x109b54a00, {{155.4, 306.0}, {208.7, 56.0}}, label: 'Pick multiple images
Pick multiple images'
Button, 0x109b54b40, {{151.3, 378.0}, {217.0, 56.0}}, label: 'Pick item from gallery
Pick item from gallery'
Button, 0x109b54c80, {{161.1, 450.0}, {197.3, 56.0}}, label: 'Pick multiple items
Pick multiple items'
Button, 0x109b54dc0, {{182.2, 522.0}, {155.1, 56.0}}, label: 'Take a photo
Take a photo'
Button, 0x109b54f00, {{147.6, 594.0}, {224.4, 56.0}}, label: 'Pick video from gallery
Pick video from gallery'
Button, 0x109b55040, {{157.5, 666.0}, {204.6, 56.0}}, label: 'Pick multiple videos
Pick multiple videos'
Button, 0x109b55180, {{183.4, 738.0}, {152.6, 56.0}}, label: 'Take a video
Take a video'
Path to element:
→Application, 0x107c5fd40, pid: 55013, label: 'image_picker_example'
Query chain:
→Find: Target Application 'dev.flutter.plugins.imagePickerExample'
Output: {
Application, 0x109b552c0, pid: 55013, label: 'image_picker_example'
}
)
/Volumes/Work/s/w/ir/x/w/packages/packages/image_picker/image_picker_ios/example/ios/RunnerUITests/ImagePickerFromGalleryUITests.swift:100: error: -[RunnerUITests.ImagePickerFromGalleryUITests testCancel] : failed - Failed due to not able to find pick button with 30.0 seconds
t = 38.79s Tear Down
t = 38.79s Terminate dev.flutter.plugins.imagePickerExample:55013
Test Case '-[RunnerUITests.ImagePickerFromGalleryUITests testCancel]' failed (39.883 seconds).
...
Failing tests:
ImagePickerFromGalleryUITests.testCancel()
Activity
vashworth commentedon Nov 24, 2026
I have a fix, just verifying before I put up a PR.