Skip to content

[FlutterTests testDualFlutterView] failed, timeout waiting for viewDidAppear: call on the view controller #40173

@jmagman

Description

@jmagman

Steps to Reproduce

$ cd dev
$ SHARD=add2app_test dart bots/test.dart

Logs

Test Case '-[FlutterTests testDualFlutterView]' started.
/Users/m/Projects/flutter/dev/integration_tests/ios_add2app/ios_add2appTests/IntegrationTests.m:74: error: -[FlutterTests testDualFlutterView] : Exception: TimeoutException

Exception Name: TimeoutException
Exception Reason: Timed out while waiting to perform assertion.
Exception with Assertion: {
  "Assertion Criteria":  "assertWithMatcher:matcherForSufficientlyVisible(>=0.750000)",
  "Element Matcher":  "(kindOfClass('UIWindow') && keyWindow)"
}

Exception Details: Error Trace: [
  {
    "Description":  "Failed to execute block because idling resources below are busy.",
    "Description Glossary":    {
      "GREYAppStateTracker":  "Waiting for viewDidAppear: call on the view controller. Please ensure that this view controller and its subclasses call through to their super's implementation.

Full state transition call stack for all objects:
<UIEditingOverlayViewController:0x7fc24b60edc0> => Waiting for viewDidAppear: call on the view controller. Please ensure that this view controller and its subclasses call through to their super's implementation.
(
	0   EarlGrey                            0x0000000100ab718e -[GREYAppStateTrackerObject setState:] + 62
	1   EarlGrey                            0x0000000100a5e699 __133-[GREYAppStateTracker grey_changeState:usingOperation:forObject:orInternalObjectDeallocationTracker:orExternalAppStateTrackerObject:]_block_invoke + 1161
	2   EarlGrey                            0x0000000100a5d84d -[GREYAppStateTracker grey_performBlockInCriticalSection:] + 333
	3   EarlGrey                            0x0000000100a5e0be -[GREYAppStateTracker grey_changeState:usingOperation:forObject:orInternalObjectDeallocationTracker:orExternalAppStateTrackerObject:] + 1390
	4   EarlGrey                            0x0000000100a5c16f -[GREYAppStateTracker trackState:forObject:] + 95
	5   EarlGrey                            0x0000000100a62b1f -[UIViewController(GREYAdditions) greyswizzled_viewWillAppear:] + 719
	6   UIKitCore                           0x00007fff468aa3f1 -[UIViewController _setViewAppearState:isAnimating:] + 661
	7   UIKitCore                           0x00007fff468aab0d -[UIViewController __viewWillAppear:] + 115
	8   UIKitCore                           0x00007fff468abbe2 -[UIViewController viewWillMoveToWindow:] + 654
	9   EarlGrey                            0x0000000100a62608 -[UIViewController(GREYAdditions) greyswizzled_viewWillMoveToWindow:] + 344
	10  UIKitCore                           0x00007fff473c61dc -[UIView(Hierarchy) _willMoveToWindow:withAncestorView:] + 639
	11  UIKitCore                           0x00007fff473d6593 -[UIView(Internal) _addSubview:positioned:relativeTo:] + 440
	12  EarlGrey                            0x0000000100a9690a -[UIView(GREYAdditions) greyswizzled_addSubview:] + 90
	13  UIKitCore                           0x00007fff46ce7a4b -[UIInputWindowController presentViewController:] + 295
	14  UIKitCore                           0x00007fff471e0722 -[UITextEffectsWindow _commonInitWithOptions:] + 541
	15  UIKitCore                           0x00007fff471e0307 -[UITextEffectsWindow(UIObjectsForPerCanvas) _initWithCanvas:options:] + 316
	16  UIKitCore                           0x00007fff47296561 +[_UIObjectPerCanvas objectOfClass:forCanvas:withOptions:createIfNecessary:] + 1057
	17  UIKitCore                           0x00007fff471e21f8 +[UITextEffectsWindow _sharedTextEffectsWindowforWindowScene:allowHosted:matchesStatusBarOrientationOnAccess:shouldCreateIfNecessary:] + 1446
	18  UIKitCore                           0x00007fff471e2341 +[UITextEffectsWindow sharedTextEffectsWindowForWindowScene:] + 152
	19  UIKitCore                           0x00007fff469e2529 -[UIInputResponderController containerWindow] + 152
	20  UIKitCore                           0x00007fff469e2647 -[UIInputResponderController containerRootController] + 24
	21  UIKitCore                           0x00007fff46d6e5fb __43-[_UIRemoteKeyboards reloadForSnapshotting]_block_invoke + 32
	22  UIKitCore                           0x00007fff469e23c9 +[UIInputResponderController performOnControllers:] + 574
	23  UIKitCore                           0x00007fff46d6ef63 __33-[_UIRemoteKeyboards willResume:]_block_invoke + 95
	24  libdispatch.dylib                   0x00007fff50fa27f9 _dispatch_client_callout + 8
	25  libdispatch.dylib                   0x00007fff50fa5211 _dispatch_block_invoke_direct + 285
	26  FrontBoardServices                  0x00007fff361f408a __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 30
	27  FrontBoardServices                  0x00007fff361f3d78 -[FBSSerialQueue _queue_performNextIfPossible] + 441
	28  FrontBoardServices                  0x00007fff361f4287 -[FBSSerialQueue _performNextFromRunLoopSource] + 22
	29  CoreFoundation                      0x00007fff23a60ac1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
	30  CoreFoundation                      0x00007fff23a609ec __CFRunLoopDoSource0 + 76
	31  CoreFoundation                      0x00007fff23a601c4 __CFRunLoopDoSources0 + 180
	32  CoreFoundation                      0x00007fff23a5aecf __CFRunLoopRun + 1263
	33  CoreFoundation                      0x00007fff23a5a6b6 CFRunLoopRunSpecific + 438
	34  XCTest                              0x0000000102f01fc9 -[XCTWaiter waitForExpectations:timeout:enforceOrder:] + 989
	35  XCTest                              0x0000000102e9be4f -[XCTFuture _waitForFulfillment] + 724
	36  XCTest                              0x0000000102e9cc62 -[XCTFuture value] + 32
	37  XCTest                              0x0000000102f21aa8 +[XCTRunnerIDESession daemonMediatedSessionForSessionIdentifier:delegate:error:] + 214
	38  XCTest                              0x0000000102f1638a _XCTestMain + 858
	39  libXCTestBundleInject.dylib         0x0000000100bc5be7 __copy_helper_block_e8_32s + 0
	40  CoreFoundation                      0x00007fff23a608ec __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
	41  CoreFoundation                      0x00007fff23a60058 __CFRunLoopDoBlocks + 312
	42  CoreFoundation                      0x00007fff23a5aee4 __CFRunLoopRun + 1284
	43  CoreFoundation                      0x00007fff23a5a6b6 CFRunLoopRunSpecific + 438
	44  GraphicsServices                    0x00007fff38016bb0 GSEventRunModal + 65
	45  UIKitCore                           0x00007fff46f0990f UIApplicationMain + 1621
	46  ios_add2app                         0x000000010099d310 main + 112
	47  libdyld.dylib                       0x00007fff50fe1cf5 start + 1
)
"
    },
    "Error Domain":  "com.google.earlgrey.GREYUIThreadExecutorErrorDomain",
    "Error Code":  "0",
    "File Name":  "GREYUIThreadExecutor.m",
    "Function Name":  "-[GREYUIThreadExecutor executeSyncWithTimeout:block:error:]",
    "Line":  "239",
    "TestCase Class":  "FlutterTests",
    "TestCase Method":  "testDualFlutterView"
  },
  {
    "Description":  "Failed to execute assertion within 30 seconds.",
    "Error Domain":  "com.google.earlgrey.ElementInteractionErrorDomain",
    "Error Code":  "4",
    "File Name":  "GREYElementInteraction.m",
    "Function Name":  "-[GREYElementInteraction assert:error:]",
    "Line":  "450",
    "TestCase Class":  "FlutterTests",
    "TestCase Method":  "testDualFlutterView"
  }
]

Bundle ID: org.test.ios-add2app

Stack Trace: (
	0   EarlGrey                            0x0000000100add28d -[GREYDefaultFailureHandler handleException:details:] + 1981
	1   EarlGrey                            0x0000000100ac21bf -[GREYElementInteraction grey_handleFailureOfAssertion:assertionError:userProvidedOutError:] + 4271
	2   EarlGrey                            0x0000000100abc60c -[GREYElementInteraction assert:error:] + 3436
	3   EarlGrey                            0x0000000100abda9d -[GREYElementInteraction assertWithMatcher:error:] + 125
	4   EarlGrey                            0x0000000100abd9ce -[GREYElementInteraction assertWithMatcher:] + 62
	5   ios_add2appTests                    0x000000010319cefe -[FlutterTests testDualFlutterView] + 286
	6   CoreFoundation                      0x00007fff23b0495c __invoking___ + 140
	7   CoreFoundation                      0x00007fff23b01d8f -[NSInvocation invoke] + 287
	8   EarlGrey                            0x0000000100ab1640 -[GREYTestCaseInvocation invoke] + 112
	9   XCTest                              0x0000000102eadcd1 __24-[XCTestCase invokeTest]_block_invoke.208 + 78
	10  XCTest                              0x0000000102f077b2 -[XCTestCase(Failures) performFailableBlock:testCaseRun:shouldInterruptTest:] + 57
	11  XCTest                              0x0000000102f076d0 -[XCTestCase(Failures) _performTurningExceptionsIntoFailuresInterruptAfterHandling:block:] + 96
	12  XCTest                              0x0000000102ead7ba __24-[XCTestCase invokeTest]_block_invoke + 1153
	13  XCTest                              0x0000000102ead292 -[XCTestCase testContextPerformInScope:] + 211
	14  XCTest                              0x0000000102ead32c -[XCTestCase invokeTest] + 137
	15  EarlGrey                            0x0000000100aa42a8 -[XCTestCase(GREYAdditions) grey_invokeTest] + 1576
	16  XCTest                              0x0000000102eaf09d __26-[XCTestCase performTest:]_block_invoke_2 + 43
	17  XCTest                              0x0000000102f077b2 -[XCTestCase(Failures) performFailableBlock:testCaseRun:shouldInterruptTest:] + 57
	18  XCTest                              0x0000000102f076d0 -[XCTestCase(Failures) _performTurningExceptionsIntoFailuresInterruptAfterHandling:block:] + 96
	19  XCTest                              0x0000000102eaefb4 __26-[XCTestCase performTest:]_block_invoke.334 + 88
	20  XCTest                              0x0000000102f1a792 +[XCTContext runInContextForTestCase:block:] + 219
	21  XCTest                              0x0000000102eae723 -[XCTestCase performTest:] + 668
	22  XCTest                              0x0000000102ef3817 -[XCTest runTest] + 57
	23  XCTest                              0x0000000102ea8d02 __27-[XCTestSuite performTest:]_block_invoke + 365
	24  XCTest                              0x0000000102ea842c -[XCTestSuite _performProtectedSectionForTest:testSection:] + 54
	25  XCTest                              0x0000000102ea8729 -[XCTestSuite performTest:] + 355
	26  XCTest                              0x0000000102ef3817 -[XCTest runTest] + 57
	27  XCTest                              0x0000000102ea8d02 __27-[XCTestSuite performTest:]_block_invoke + 365
	28  XCTest                              0x0000000102ea842c -[XCTestSuite _performProtectedSectionForTest:testSection:] + 54
	29  XCTest                              0x0000000102ea8729 -[XCTestSuite performTest:] + 355
	30  XCTest                              0x0000000102ef3817 -[XCTest runTest] + 57
	31  XCTest                              0x0000000102ea8d02 __27-[XCTestSuite performTest:]_block_invoke + 365
	32  XCTest                              0x0000000102ea842c -[XCTestSuite _performProtectedSectionForTest:testSection:] + 54
	33  XCTest                              0x0000000102ea8729 -[XCTestSuite performTest:] + 355
	34  XCTest                              0x0000000102ef3817 -[XCTest runTest] + 57
	35  XCTest                              0x0000000102f2971e __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke + 171
	36  XCTest                              0x0000000102f29821 __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke.84 + 118
	37  XCTest                              0x0000000102ec2a03 -[XCTestObservationCenter _observeTestExecutionForBlock:] + 588
	38  XCTest                              0x0000000102f294dd -[XCTTestRunSession runTestsAndReturnError:] + 623
	39  XCTest                              0x0000000102e8c327 -[XCTestDriver runTestsAndReturnError:] + 456
	40  XCTest                              0x0000000102f169e4 _XCTestMain + 2484
	41  libXCTestBundleInject.dylib         0x0000000100bc5be7 __copy_helper_block_e8_32s + 0
	42  CoreFoundation                      0x00007fff23a608ec __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
	43  CoreFoundation                      0x00007fff23a60058 __CFRunLoopDoBlocks + 312
	44  CoreFoundation                      0x00007fff23a5aee4 __CFRunLoopRun + 1284
	45  CoreFoundation                      0x00007fff23a5a6b6 CFRunLoopRunSpecific + 438
	46  GraphicsServices                    0x00007fff38016bb0 GSEventRunModal + 65
	47  UIKitCore                           0x00007fff46f0990f UIApplicationMain + 1621
	48  ios_add2app                         0x000000010099d310 main + 112
	49  libdyld.dylib                       0x00007fff50fe1cf5 start + 1
)

Screenshots: {
  "Screenshot At Failure":  "/Users/m/Library/Developer/CoreSimulator/Devices/CBBF7B96-9C47-44E1-B2A0-F502321B7856/data/Containers/Data/Application/5A0E3AED-C8EF-45FD-B58F-9F6012535F92/Documents/FlutterTests_testDualFlutterView-TimeoutException-33F24C70-56DD-44B7-932C-B82119DFCA2C/FlutterTests_testDualFlutterView.png"
}

UI hierarchy (ordered by window level, front to back as rendered):

Legend: {
  "[AX]":  "Accessibility",
  "[UIE]":  "User Interaction Enabled",
  "[Window 1]":  "Frontmost Window"
}

========== Window 1 ==========

<UITextEffectsWindow:0x7fc23c400720; AX=N; AX.frame={{0, 0}, {375, 812}}; AX.activationPoint={187.5, 406}; AX.traits='UIAccessibilityTraitNone'; AX.focused='N'; frame={{0, 0}, {375, 812}}; alpha=1>
  |--<UIInputSetContainerView:0x7fc23b600430; AX=N; AX.frame={{0, 0}, {375, 812}}; AX.activationPoint={187.5, 406}; AX.traits='UIAccessibilityTraitNone'; AX.focused='N'; frame={{0, 0}, {375, 812}}; opaque; alpha=1>
  |  |--<UIEditingOverlayGestureView:0x7fc24b60f9e0; AX=N; AX.frame={{0, 0}, {375, 812}}; AX.activationPoint={187.5, 406}; AX.traits='UIAccessibilityTraitNone'; AX.focused='N'; frame={{0, 0}, {375, 812}}; opaque; alpha=1>
  |  |--<UIInputSetHostView:0x7fc23b600970; AX=N; AX.frame={{0, 812}, {375, 0}}; AX.activationPoint={187.5, 812}; AX.traits='UIAccessibilityTraitNone'; AX.focused='N'; frame={{0, 812}, {375, 0}}; opaque; alpha=1>

========== Window 2 ==========

<UIWindow:0x7fc24b715da0; AX=N; AX.frame={{0, 0}, {375, 812}}; AX.activationPoint={187.5, 406}; AX.traits='UIAccessibilityTraitNone'; AX.focused='N'; frame={{0, 0}, {375, 812}}; opaque; alpha=1>
  |--<UITransitionView:0x7fc24b426ce0; AX=N; AX.frame={{0, 0}, {375, 812}}; AX.activationPoint={187.5, 406}; AX.traits='UIAccessibilityTraitNone'; AX.focused='N'; frame={{0, 0}, {375, 812}}; opaque; alpha=1>
  |  |--<UIDropShadowView:0x7fc24b406770; AX=N; AX.frame={{0, 0}, {375, 812}}; AX.activationPoint={187.5, 406}; AX.traits='UIAccessibilityTraitNone'; AX.focused='N'; frame={{0, 0}, {375, 812}}; opaque; alpha=1>
  |  |  |--<UILayoutContainerView:0x7fc23b40a290; AX=N; AX.frame={{0, 0}, {375, 812}}; AX.activationPoint={187.5, 406}; AX.traits='UIAccessibilityTraitNone'; AX.focused='N'; frame={{0, 0}, {375, 812}}; opaque; alpha=1>
  |  |  |  |--<UIToolbar:0x7fc23b423a80; AX=N; AX.id='Toolbar'; AX.frame={{0, 812}, {375, 49}}; AX.activationPoint={187.5, 836.5}; AX.traits='UIAccessibilityTraitNone'; AX.focused='N'; frame={{0, 812}, {375, 49}}; opaque; hidden; alpha=1>
  |  |  |  |  |--<_UIBarBackground:0x7fc23b406190; AX=N; AX.frame={{0, 812}, {375, 83}}; AX.activationPoint={187.5, 853.5}; AX.traits='UIAccessibilityTraitNone'; AX.focused='N'; frame={{0, 0}, {375, 83}}; opaque; alpha=1; UIE=N>
  |  |  |  |  |  |--<UIVisualEffectView:0x7fc23b406570; AX=N; AX.frame={{0, 812}, {375, 83}}; AX.activationPoint={187.5, 853.5}; AX.traits='UIAccessibilityTraitNone'; AX.focused='N'; frame={{0, 0}, {375, 83}}; opaque; alpha=1>
  |  |  |  |  |  |  |--<_UIVisualEffectBackdropView:0x7fc23b401c20; AX=N; AX.frame={{0, 812}, {375, 83}}; AX.activationPoint={187.5, 853.5}; AX.traits='UIAccessibilityTraitNone'; AX.focused='N'; frame={{0, 0}, {375, 83}}; opaque; alpha=1; UIE=N>
  |  |  |  |  |  |--<UIImageView:0x7fc23b406b70; AX=N; AX.frame={{0, 811.66666666666663}, {375, 0.33333333333337123}}; AX.activationPoint={187.5, 811.83333333333326}; AX.traits='UIAccessibilityTraitImage'; AX.focused='N'; frame={{0, -0.33333333333333331}, {375, 0.33333333333333331}}; opaque; alpha=1; UIE=N>
  |  |  |  |--<UINavigationBar:0x7fc23b40ad70; AX=N; AX.id='Flutter iOS Demos'; AX.frame={{0, 44}, {375, 44}}; AX.activationPoint={187.5, 66}; AX.traits='UIAccessibilityTraitNone'; AX.focused='N'; frame={{0, 44}, {375, 44}}; opaque; alpha=1>
  |  |  |  |  |--<_UINavigationBarContentView:0x7fc23b40b8d0; AX=N; AX.frame={{0, 44}, {375, 44}}; AX.activationPoint={187.5, 66}; AX.traits='UIAccessibilityTraitNone'; AX.focused='N'; frame={{0, 0}, {375, 44}}; opaque; alpha=1>
  |  |  |  |  |  |--<UILabel:0x7fc24b41f700; AX=Y; AX.label='Flutter iOS Demos'; AX.frame={{115, 55.666666666666664}, {145, 20.333333333333336}}; AX.activationPoint={187.5, 65.833333333333329}; AX.traits='UIAccessibilityTraitHeader'; AX.focused='N'; frame={{115, 11.666666666666666}, {145, 20.333333333333332}}; opaque; alpha=1; UIE=N; text='Flutter iOS Demos'>
  |  |  |  |  |--<_UIBarBackground:0x7fc23b40b3e0; AX=N; AX.frame={{0, 0}, {375, 88}}; AX.activationPoint={187.5, 44}; AX.traits='UIAccessibilityTraitNone'; AX.focused='N'; frame={{0, -44}, {375, 88}}; opaque; alpha=1; UIE=N>
  |  |  |  |  |  |--<UIImageView:0x7fc24b60c3b0; AX=N; AX.frame={{0, 0}, {375, 88}}; AX.activationPoint={187.5, 44}; AX.traits='UIAccessibilityTraitImage'; AX.focused='N'; frame={{0, 0}, {375, 88}}; opaque; alpha=1; UIE=N>
  |  |  |  |  |  |--<UIImageView:0x7fc24b41bfa0; AX=N; AX.frame={{0, 88}, {375, 0.3333333333333286}}; AX.activationPoint={187.5, 88.166666666666657}; AX.traits='UIAccessibilityTraitImage'; AX.focused='N'; frame={{0, 88}, {375, 0.33333333333333331}}; opaque; alpha=1; UIE=N>
  |  |  |  |  |--<UILabel:0x7fc24b41f700; AX=Y; AX.label='Flutter iOS Demos'; AX.frame={{115, 55.666666666666664}, {145, 20.333333333333336}}; AX.activationPoint={187.5, 65.833333333333329}; AX.traits='UIAccessibilityTraitHeader'; AX.focused='N'; frame={{115, 11.666666666666666}, {145, 20.333333333333332}}; opaque; alpha=1; UIE=N; text='Flutter iOS Demos'>
  |  |  |  |--<UINavigationTransitionView:0x7fc24b7216c0; AX=N; AX.frame={{0, 0}, {375, 812}}; AX.activationPoint={187.5, 406}; AX.traits='UIAccessibilityTraitNone'; AX.focused='N'; frame={{0, 0}, {375, 812}}; opaque; alpha=1>
  |  |  |  |  |--<UIViewControllerWrapperView:0x7fc24b5140b0; AX=N; AX.frame={{0, 0}, {375, 812}}; AX.activationPoint={187.5, 406}; AX.traits='UIAccessibilityTraitNone'; AX.focused='N'; frame={{0, 0}, {375, 812}}; opaque; alpha=1>
  |  |  |  |  |  |--<UIView:0x7fc24b40a1b0; AX=N; AX.frame={{0, 88}, {375, 724}}; AX.activationPoint={187.5, 450}; AX.traits='UIAccessibilityTraitNone'; AX.focused='N'; frame={{0, 88}, {375, 724}}; opaque; alpha=1>
  |  |  |  |  |  |  |--<UIStackView:0x7fc24b419cc0; AX=N; AX.frame={{0, 88}, {375, 724}}; AX.activationPoint={187.5, 450}; AX.traits='UIAccessibilityTraitNone'; AX.focused='N'; frame={{0, 0}, {375, 724}}; opaque; alpha=1>
  |  |  |  |  |  |  |  |--<UIButton:0x7fc24b51ad70; AX=Y; AX.label='Dual Flutter View (Cold)'; AX.frame={{105.66666666666669, 698}, {164, 30}}; AX.activationPoint={187.66666666666669, 713}; AX.traits='UIAccessibilityTraitButton'; AX.focused='N'; frame={{105.66666666666669, 610}, {164, 30}}; alpha=1>
  |  |  |  |  |  |  |  |  |--<UIButtonLabel:0x7fc24b528840; AX=N; AX.label='Dual Flutter View (Cold)'; AX.frame={{105.66666666666669, 704}, {164, 18}}; AX.activationPoint={187.66666666666669, 713}; AX.traits='UIAccessibilityTraitStaticText'; AX.focused='N'; frame={{0, 6}, {164, 18}}; alpha=1; UIE=N; text='Dual Flutter View (Cold)'>
  |  |  |  |  |  |  |  |--<UIButton:0x7fc24b51ba30; AX=Y; AX.label='Hybrid View (Warm)'; AX.frame={{118.66666666666669, 576}, {138, 30}}; AX.activationPoint={187.66666666666669, 591}; AX.traits='UIAccessibilityTraitButton'; AX.focused='N'; frame={{118.66666666666669, 488}, {138, 30}}; alpha=1>
  |  |  |  |  |  |  |  |  |--<UIButtonLabel:0x7fc24b52a1b0; AX=N; AX.label='Hybrid View (Warm)'; AX.frame={{118.66666666666669, 582}, {138, 18}}; AX.activationPoint={187.66666666666669, 591}; AX.traits='UIAccessibilityTraitStaticText'; AX.focused='N'; frame={{0, 6}, {138, 18}}; alpha=1; UIE=N; text='Hybrid View (Warm)'>
  |  |  |  |  |  |  |  |--<UIButton:0x7fc24b4225b0; AX=Y; AX.label='Flutter View (Warm)'; AX.frame={{119, 454}, {137, 30}}; AX.activationPoint={187.5, 469}; AX.traits='UIAccessibilityTraitButton'; AX.focused='N'; frame={{119, 366}, {137, 30}}; alpha=1>
  |  |  |  |  |  |  |  |  |--<UIButtonLabel:0x7fc24b52a800; AX=N; AX.label='Flutter View (Warm)'; AX.frame={{119, 460}, {137, 18}}; AX.activationPoint={187.5, 469}; AX.traits='UIAccessibilityTraitStaticText'; AX.focused='N'; frame={{0, 6}, {137, 18}}; alpha=1; UIE=N; text='Flutter View (Warm)'>
  |  |  |  |  |  |  |  |--<UIButton:0x7fc24b422310; AX=Y; AX.label='Full Screen (Warm)'; AX.frame={{122, 332}, {131, 30}}; AX.activationPoint={187.5, 347}; AX.traits='UIAccessibilityTraitButton'; AX.focused='N'; frame={{122, 244}, {131, 30}}; alpha=1>
  |  |  |  |  |  |  |  |  |--<UIButtonLabel:0x7fc24b52ae50; AX=N; AX.label='Full Screen (Warm)'; AX.frame={{122, 338}, {131, 18}}; AX.activationPoint={187.5, 347}; AX.traits='UIAccessibilityTraitStaticText'; AX.focused='N'; frame={{0, 6}, {131, 18}}; alpha=1; UIE=N; text='Full Screen (Warm)'>
  |  |  |  |  |  |  |  |--<UIButton:0x7fc24b422070; AX=Y; AX.label='Full Screen (Cold)'; AX.frame={{126, 210}, {123, 30}}; AX.activationPoint={187.5, 225}; AX.traits='UIAccessibilityTraitButton'; AX.focused='N'; frame={{126, 122}, {123, 30}}; alpha=1>
  |  |  |  |  |  |  |  |  |--<UIButtonLabel:0x7fc24b52b4b0; AX=N; AX.label='Full Screen (Cold)'; AX.frame={{126, 216}, {123, 18}}; AX.activationPoint={187.5, 225}; AX.traits='UIAccessibilityTraitStaticText'; AX.focused='N'; frame={{0, 6}, {123, 18}}; alpha=1; UIE=N; text='Full Screen (Cold)'>
  |  |  |  |  |  |  |  |--<UIButton:0x7fc24b41adf0; AX=Y; AX.label='Native iOS View'; AX.frame={{133, 88}, {109, 30}}; AX.activationPoint={187.5, 103}; AX.traits='UIAccessibilityTraitButton'; AX.focused='N'; frame={{133, 0}, {109, 30}}; alpha=1>
  |  |  |  |  |  |  |  |  |--<UIButtonLabel:0x7fc24b52bb10; AX=N; AX.label='Native iOS View'; AX.frame={{133, 94}, {109, 18}}; AX.activationPoint={187.5, 103}; AX.traits='UIAccessibilityTraitStaticText'; AX.focused='N'; frame={{0, 6}, {109, 18}}; alpha=1; UIE=N; text='Native iOS View'>


2019-09-10 12:21:44.844856-0700 ios_add2app[96528:23057389] EarlGrey tried waiting for 10.0 seconds for the application to reach an idle state. It is now forced to clear the state of GREYAppStateTracker, because the test might have caused the application to remain in non-idle state indefinitely.
Full state tracker description: Waiting for viewDidAppear: call on the view controller. Please ensure that this view controller and its subclasses call through to their super's implementation.

Full state transition call stack for all objects:
<UIEditingOverlayViewController:0x7fc24b60edc0> => Waiting for viewDidAppear: call on the view controller. Please ensure that this view controller and its subclasses call through to their super's implementation.
(
	0   EarlGrey                            0x0000000100ab718e -[GREYAppStateTrackerObject setState:] + 62
	1   EarlGrey                            0x0000000100a5e699 __133-[GREYAppStateTracker grey_changeState:usingOperation:forObject:orInternalObjectDeallocationTracker:orExternalAppStateTrackerObject:]_block_invoke + 1161
	2   EarlGrey                            0x0000000100a5d84d -[GREYAppStateTracker grey_performBlockInCriticalSection:] + 333
	3   EarlGrey                            0x0000000100a5e0be -[GREYAppStateTracker grey_changeState:usingOperation:forObject:orInternalObjectDeallocationTracker:orExternalAppStateTrackerObject:] + 1390
	4   EarlGrey                            0x0000000100a5c16f -[GREYAppStateTracker trackState:forObject:] + 95
	5   EarlGrey                            0x0000000100a62b1f -[UIViewController(GREYAdditions) greyswizzled_viewWillAppear:] + 719
	6   UIKitCore                           0x00007fff468aa3f1 -[UIViewController _setViewAppearState:isAnimating:] + 661
	7   UIKitCore                           0x00007fff468aab0d -[UIViewController __viewWillAppear:] + 115
	8   UIKitCore                           0x00007fff468abbe2 -[UIViewController viewWillMoveToWindow:] + 654
	9   EarlGrey                            0x0000000100a62608 -[UIViewController(GREYAdditions) greyswizzled_viewWillMoveToWindow:] + 344
	10  UIKitCore                           0x00007fff473c61dc -[UIView(Hierarchy) _willMoveToWindow:withAncestorView:] + 639
	11  UIKitCore                           0x00007fff473d6593 -[UIView(Internal) _addSubview:positioned:relativeTo:] + 440
	12  EarlGrey                            0x0000000100a9690a -[UIView(GREYAdditions) greyswizzled_addSubview:] + 90
	13  UIKitCore                           0x00007fff46ce7a4b -[UIInputWindowController presentViewController:] + 295
	14  UIKitCore                           0x00007fff471e0722 -[UITextEffectsWindow _commonInitWithOptions:] + 541
	15  UIKitCore                           0x00007fff471e0307 -[UITextEffectsWindow(UIObjectsForPerCanvas) _initWithCanvas:options:] + 316
	16  UIKitCore                           0x00007fff47296561 +[_UIObjectPerCanvas objectOfClass:forCanvas:withOptions:createIfNecessary:] + 1057
	17  UIKitCore                           0x00007fff471e21f8 +[UITextEffectsWindow _sharedTextEffectsWindowforWindowScene:allowHosted:matchesStatusBarOrientationOnAccess:shouldCreateIfNecessary:] + 1446
	18  UIKitCore                           0x00007fff471e2341 +[UITextEffectsWindow sharedTextEffectsWindowForWindowScene:] + 152
	19  UIKitCore                           0x00007fff469e2529 -[UIInputResponderController containerWindow] + 152
	20  UIKitCore                           0x00007fff469e2647 -[UIInputResponderController containerRootController] + 24
	21  UIKitCore                           0x00007fff46d6e5fb __43-[_UIRemoteKeyboards reloadForSnapshotting]_block_invoke + 32
	22  UIKitCore                           0x00007fff469e23c9 +[UIInputResponderController performOnControllers:] + 574
	23  UIKitCore                           0x00007fff46d6ef63 __33-[_UIRemoteKeyboards willResume:]_block_invoke + 95
	24  libdispatch.dylib                   0x00007fff50fa27f9 _dispatch_client_callout + 8
	25  libdispatch.dylib                   0x00007fff50fa5211 _dispatch_block_invoke_direct + 285
	26  FrontBoardServices                  0x00007fff361f408a __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 30
	27  FrontBoardServices                  0x00007fff361f3d78 -[FBSSerialQueue _queue_performNextIfPossible] + 441
	28  FrontBoardServices                  0x00007fff361f4287 -[FBSSerialQueue _performNextFromRunLoopSource] + 22
	29  CoreFoundation                      0x00007fff23a60ac1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
	30  CoreFoundation                      0x00007fff23a609ec __CFRunLoopDoSource0 + 76
	31  CoreFoundation                      0x00007fff23a601c4 __CFRunLoopDoSources0 + 180
	32  CoreFoundation                      0x00007fff23a5aecf __CFRunLoopRun + 1263
	33  CoreFoundation                      0x00007fff23a5a6b6 CFRunLoopRunSpecific + 438
	34  XCTest                              0x0000000102f01fc9 -[XCTWaiter waitForExpectations:timeout:enforceOrder:] + 989
	35  XCTest                              0x0000000102e9be4f -[XCTFuture _waitForFulfillment] + 724
	36  XCTest                              0x0000000102e9cc62 -[XCTFuture value] + 32
	37  XCTest                              0x0000000102f21aa8 +[XCTRunnerIDESession daemonMediatedSessionForSessionIdentifier:delegate:error:] + 214
	38  XCTest                              0x0000000102f1638a _XCTestMain + 858
	39  libXCTestBundleInject.dylib         0x0000000100bc5be7 __copy_helper_block_e8_32s + 0
	40  CoreFoundation                      0x00007fff23a608ec __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
	41  CoreFoundation                      0x00007fff23a60058 __CFRunLoopDoBlocks + 312
	42  CoreFoundation                      0x00007fff23a5aee4 __CFRunLoopRun + 1284
	43  CoreFoundation                      0x00007fff23a5a6b6 CFRunLoopRunSpecific + 438
	44  GraphicsServices                    0x00007fff38016bb0 GSEventRunModal + 65
	45  UIKitCore                           0x00007fff46f0990f UIApplicationMain + 1621
	46  ios_add2app                         0x000000010099d310 main + 112
	47  libdyld.dylib                       0x00007fff50fe1cf5 start + 1
)
Test Case '-[FlutterTests testDualFlutterView]' failed (40.204 seconds).

Failing screenshot:
FlutterTests_testDualFlutterView

$ flutter doctor -v
[✓] Flutter (Channel codesign, v1.10.2-pre.23, on Mac OS X 10.14.6 18G87, locale en-US)
    • Flutter version 1.10.2-pre.23 at /Users/m/Projects/flutter
    • Framework revision dfaff67db1 (22 minutes ago), 2019-09-10 12:16:41 -0700
    • Engine revision 7ea9884ab0
    • Dart version 2.5.0 (build 2.5.0-dev.4.0 be66176534)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/m/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.0)
    • Xcode at /Users/m/Applications/Xcode-beta6.app/Contents/Developer
    • Xcode 11.0, Build version 11M392q
    • CocoaPods version 1.7.5

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 36.1.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

[✓] VS Code (version 1.37.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.4.1

[✓] Connected device (1 available)
    • macOS • macOS • darwin-x64 • Mac OS X 10.14.6 18G87

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: existing-appsIntegration with existing apps via the add-to-app flowa: tests"flutter test", flutter_test, or one of our testsc: contributor-productivityTeam-specific productivity, code health, technical debt.engineflutter/engine related. See also e: labels.platform-iosiOS applications specificallyteam-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform team

    Type

    No type

    Projects

    Status

    Engineer reviewed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions