Skip to content

[google_maps_flutter_ios] Failing native tests #154641

Closed
flutter/packages
#12208

Description

@bparrishMines

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:

Screenshot 2024-09-04 at 3 36 08 PM

Activity

  1. added
    platform-iosiOS applications specifically
    p: mapsGoogle Maps plugin
    packageflutter/packages repository. See also p: labels.
    team-iosOwned by iOS platform team
    fyi-ecosystemFor the attention of Ecosystem team
    on Sep 4, 2024
  2. self-assigned this
    on Sep 11, 2024
  3. added
    c: regressionIt was better in the past than it is now
    P2Important issues not at the top of the work list
    on Oct 2, 2024
  4. 8 remaining items

  5. flutter-triage-bot commented on Jun 5, 2025

    @flutter-triage-bot

    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.

  6. removed
    ⏳Bot is counting down the days until it unassigns the issue
    on Jun 5, 2025
  7. github-actions commented on Jul 30, 2026

    @github-actions

    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 -v and a minimal reproduction of the issue.

  8. locked as resolved and limited conversation to collaborators on Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: contributor-productivityTeam-specific productivity, code health, technical debt.c: disabled testTracks the restoration of a disabled testc: regressionIt was better in the past than it is nowp: mapsGoogle Maps pluginpackageflutter/packages repository. See also p: labels.platform-iosiOS applications specificallyteam-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions