Repository navigation
[google_maps_flutter_ios] Failing native tests #154641
Copy link
Copy link
Closed
flutter/packages
#12208Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: contributor-productivityTeam-specific productivity, code health, technical debt.Team-specific productivity, code health, technical debt.c: disabled testTracks the restoration of a disabled testTracks the restoration of a disabled testc: regressionIt was better in the past than it is nowIt was better in the past than it is nowp: mapsGoogle Maps pluginGoogle Maps pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team
Description
The native tests in GoogleMapsUITests.m are consistently failing locally and on CI for Flutter main branch. I've also noticed this has been failing for over a week.
/Volumes/Work/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_ios/example/ios14/ios/RunnerUITests/GoogleMapsUITests.m:53: error: -[GoogleMapsUITests testUserInterface] : failed - Failed due to not able to find User interface
t = 63.39s Tear Down
Test Case '-[GoogleMapsUITests testUserInterface]' failed (63.614 seconds).
Test Suite 'GoogleMapsUITests' failed at 2024-09-03 11:59:47.863.
Executed 4 tests, with 4 failures (0 unexpected) in 256.426 (256.427) seconds
Test Suite 'RunnerUITests.xctest' failed at 2024-09-03 11:59:47.863.
Executed 4 tests, with 4 failures (0 unexpected) in 256.426 (256.428) seconds
Test Suite 'All tests' failed at 2024-09-03 11:59:47.864.
Executed 4 tests, with 4 failures (0 unexpected) in 256.426 (256.429) seconds
2024-09-03 12:00:13.009 xcodebuild[50120:308772] [MT] IDETestOperationsObserverDebug: 291.207 elapsed -- Testing started completed.
2024-09-03 12:00:13.009 xcodebuild[50120:308772] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start
2024-09-03 12:00:13.009 xcodebuild[50120:308772] [MT] IDETestOperationsObserverDebug: 291.207 sec, +291.207 sec -- end
Test session results, code coverage, and logs:
/Users/chrome-bot/Library/Developer/Xcode/DerivedData/Runner-bynswbqjzzfjuuheqrjysabjmvyt/Logs/Test/Run-Runner-2024.09.03_11-54-50--0700.xcresult
Failing tests:
-[GoogleMapsUITests testMapClickPage]
-[GoogleMapsUITests testMapCoordinatesPage]
-[GoogleMapsUITests testMarkerDraggingCallbacks]
-[GoogleMapsUITests testUserInterface]
** TEST FAILED **
Testing started
[packages/google_maps_flutter/google_maps_flutter_ios completed in 6m 23s]
See https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8737792882371508001/+/u/Run_package_tests/native_test/stdout?format=raw for full logs.
The problem seems to be that XCUIElement is failing to find the Flutter element in the example app:

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: contributor-productivityTeam-specific productivity, code health, technical debt.Team-specific productivity, code health, technical debt.c: disabled testTracks the restoration of a disabled testTracks the restoration of a disabled testc: regressionIt was better in the past than it is nowIt was better in the past than it is nowp: mapsGoogle Maps pluginGoogle Maps pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team
Activity
[extension_google_sign_in_as_googleapis_auth][google_maps_flutter_ios…
8 remaining items
flutter-triage-bot commentedon Jun 5, 2025
This issue was assigned to @cbracken but has had no status updates in a long time. To remove any ambiguity about whether the issue is being worked on, the assignee was removed.
[extension_google_sign_in_as_googleapis_auth][google_maps_flutter_ios…
[extension_google_sign_in_as_googleapis_auth][google_maps_flutter_ios…
[extension_google_sign_in_as_googleapis_auth][google_maps_flutter_ios…
[extension_google_sign_in_as_googleapis_auth][google_maps_flutter_ios…
[google_maps_flutter] Convert XCUITests to Swift (flutter#12208)
[google_maps_flutter] Fix XCUITest on stable (#12214)
[google_maps_flutter] Convert XCUITests to Swift (flutter#12208)
[google_maps_flutter] Fix XCUITest on stable (flutter#12214)
github-actions commentedon Jul 30, 2026
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.