Skip to content

Engine test AppExtensionTests testAppExtensionLaunching fails with Xcode 15 and iOS 17 #140181

@vashworth

Description

@vashworth

When testing the flutter/engine with Xcode 15 and iOS 17, test AppExtensionTests testAppExtensionLaunching fails consistently.

https://ci.chromium.org/ui/p/flutter/builders/try/Mac%20Engine%20Drone/582056/overview

Test Case '-[AppExtensionTests testAppExtensionLaunching]' started.
     t =     0.00s Start Test at 2023-12-14 12:46:04.600
     t =     0.00s Set Up
     t =     0.01s Open dev.flutter.FlutterAppExtensionTestHost
     t =     0.01s     Launch dev.flutter.FlutterAppExtensionTestHost
     t =     2.69s         Setting up automation session
     t =     3.09s         Wait for dev.flutter.FlutterAppExtensionTestHost to idle
     t =     4.18s Waiting 10.0s for "Open Share" Button to exist
     t =     5.18s     Checking `Expect predicate `exists == 1` for object "Open Share" Button`
     t =     5.19s         Checking existence of `"Open Share" Button`
     t =     5.21s Tap "Open Share" Button
     t =     5.21s     Wait for dev.flutter.FlutterAppExtensionTestHost to idle
     t =     5.21s     Find the "Open Share" Button
     t =     5.22s     Check for interrupting elements affecting "Open Share" Button
     t =     5.24s     Synthesize event
     t =     5.53s     Wait for dev.flutter.FlutterAppExtensionTestHost to idle
     t =     5.90s Get number of matches for: Descendants matching type Cell
 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_debug_sim/scenario_app/Scenarios/ScenariosUITests/AppExtensionTests.m:59: error: -[AppExtensionTests testAppExtensionLaunching] : ((launchedExtensionInFlutter) is true) failed
     t =     5.96s Tear Down
 Test Case '-[AppExtensionTests testAppExtensionLaunching]' failed (6.169 seconds).

Seems like it failing to find any cells here: https://github.com/flutter/engine/blob/0b0fab8215362f50a034d108ad11fbb8e93c3fce/testing/scenario_app/ios/Scenarios/ScenariosUITests/AppExtensionTests.m#L33

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listengineflutter/engine related. See also e: 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