Skip to content

[quick_actions_ios] integration test fails #190966

Closed
flutter/packages
#12436

Description

@hellohuanlin

Steps to reproduce

Unskip this XCUITest (by commenting out this line):

https://github.com/flutter/packages/blob/f2fd2b3ae53456c71aa8426d2b6a840f62eb1d9e/packages/quick_actions/quick_actions_ios/example/ios/RunnerUITests/RunnerUITests.swift#L40-L41

Expected results

The original issue #169928 was closed, which means the bug that caused the breakage should already have been addressed. So test should be passing now after unskipping it.

Actual results

Test fails

You can also see failure in this PR: flutter/packages#12436
Failure: https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8673729676712739905/+/u/Run_package_tests/native_test/stdout

Code sample

NA

Screenshots or Video

NA

Logs

failed - Failed due to not able to find the actionsReady in the app with 30.0 seconds. App debug description: Optional(Attributes: Application, 0x1170a8780, pid: 72407, label: 'Quick Actions Example'
Element subtree:
 →Application, 0x1170a8780, pid: 72407, label: 'Quick Actions Example'
    Window (Main), 0x1170a88c0, {{0.0, 0.0}, {420.0, 912.0}}
      Other, 0x1170a8a00, {{0.0, 0.0}, {420.0, 912.0}}
        Other, 0x1170a8b40, {{0.0, 0.0}, {420.0, 912.0}}
          Other, 0x1170a8c80, {{0.0, 0.0}, {420.0, 912.0}}
            Other, 0x1170a8dc0, {{0.0, 0.0}, {420.0, 912.0}}
              Other, 0x1170a8f00, {{0.0, 0.0}, {420.0, 912.0}}
              Other, 0x1170a9040, {{0.0, 0.0}, {420.0, 912.0}}
                Other, 0x1170a9180, {{0.0, 0.0}, {420.0, 912.0}}
                Other, 0x1170a92c0, {{0.0, 0.0}, {420.0, 912.0}}
                  Other, 0x1170a9400, {{0.0, 0.0}, {420.0, 912.0}}
                  Other, 0x1170a9540, {{0.0, 0.0}, {420.0, 912.0}}
                    Other, 0x1170a9680, {{0.0, 0.0}, {420.0, 912.0}}
                    Other, 0x1170a97c0, {{0.0, 0.0}, {420.0, 912.0}}
                      Other, 0x1170a9900, {{0.0, 0.0}, {420.0, 124.0}}
                      StaticText, 0x1170a9a40, {{148.7, 82.0}, {122.7, 28.0}}, label: 'actions ready'
                    StaticText, 0x1170a9b80, {{0.0, 488.0}, {420.0, 60.0}}, label: 'On home screen, long press the app icon to get Action one or Action two options. Tapping on that action should  set the toolbar title.'
Path to element:
 →Application, 0x1170a8780, pid: 72407, label: 'Quick Actions Example'
Query chain:
 →Find: Target Application 'com.example.quickActionsExample'
  Output: {
    Application, 0x1170a8000, pid: 72407, label: 'Quick Actions Example'
  }
)

Flutter Doctor output

huanlin@huanlin-mac example % flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel main, 3.47.0-1.0.pre-462, on macOS 26.5.2 25F84 darwin-arm64, locale en)
    ! Upstream repository [email protected]:hellohuanlin/flutter.git is not a standard remote.
      Set environment variable "FLUTTER_GIT_URL" to [email protected]:hellohuanlin/flutter.git to dismiss this error.
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    ✗ Flutter requires Android SDK 36 and the Android BuildTools 28.0.3
      To update the Android SDK visit https://flutter.dev/to/macos-android-setup for detailed instructions.
    ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
[✓] Xcode - develop for iOS and macOS (Xcode 26.4)
[✓] Chrome - develop for the web
[✓] Connected device (4 available)            
    ! Error: Browsing on the local area network for Huan’s iPad Pro. Ensure the device is unlocked and attached with a cable or associated
      with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)
    ! Error: Browsing on the local area network for Huan’s iPhone 15 Pro. Ensure the device is unlocked and attached with a cable or
      associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources

! Doctor found issues in 2 categories.

Activity

  1. added
    in triagePresently being triaged by the triage team
    packageflutter/packages repository. See also p: labels.
    fyi-ecosystemFor the attention of Ecosystem team
    team-iosOwned by iOS platform team
    and removed
    in triagePresently being triaged by the triage team
    on Aug 12, 2026
  2. stuartmorgan-g commented on Aug 12, 2026

    @stuartmorgan-g
    Contributor

    This is the same kind of accessibility element type change discussed in flutter/packages#12208 and flutter/packages#12214. The thing it's looking for is now a staticText rather than an otherElement.

    It's a trivial fix, but make sure to fix it with .descendants(matching: .any) as in the second PR so you don't potentially have the same multi-step fix I did where the new thing works on master but fails on stable.

  3. added
    P2Important issues not at the top of the work list
    a: tests"flutter test", flutter_test, or one of our tests
    triaged-iosTriaged by iOS platform team
    c: tech-debtTechnical debt, code quality, testing, etc.
    on Aug 13, 2026
  4. github-actions commented on Sep 7, 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.

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

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work lista: tests"flutter test", flutter_test, or one of our testsc: tech-debtTechnical debt, code quality, testing, etc.fyi-ecosystemFor the attention of Ecosystem teamp: quick_actionsQuickActions pluginpackageflutter/packages repository. See also p: labels.team-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