-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[iOS] when .tap() in test, device.reloadReactNative() stalls indefinitely #691
Comments
You're not using |
@rotemmiz thanks for the response. I had been trying a number of variations of the test content for the The element is a |
Can you please also add simulator logs? |
Added simulator logs above. Here is the excerpt where the tap occurs (Flagged with ...detox info Sync WXRunLoopIdlingResource: React Native thread is busy.
detox info Sync Dispatch Queue: com.apple.main-thread
detox verb ws send: {"type":"currentStatus","params":{},"messageId":240}
detox verb ws onMessage: {"type":"currentStatusResult","messageId":240,"params":{"state":"busy","resources":[{"name":"App State","info":{"elements":["<UIImageView: 0x7fd4a8064d80; frame = (0 0; 375 667); userInteractionEnabled = NO; layer = <CALayer: 0x60800042e5a0>> - (null)","<UIWindowLayer: 0x608000427140>","<CALayer: 0x60800042e5a0>","<UIWindowLayer: 0x608000235b20>","<CALayer: 0x60000042f120>","<_UISnapshotWindow: 0x7fd4a8057480; frame = (0 0; 375 667); hidden = YES; gestureRecognizers = <NSArray: 0x608000c40ff0>; layer = <UIWindowLayer: 0x608000427140>>","<UIWindowLayer: 0x60800062b920>","<_UIReplicantView: 0x7fd4a5248d60; frame = (0 0; 375 667); layer = <_UIReplicantLayer: 0x6040006328a0>>","<_UIReplicantLayer: 0x6040006328a0>"],"appState":"Waiting for view's draw or layout pass to complete."}},{"name":"Dispatch Queue","info":{"queue":"<OS_dispatch_queue_main: com.apple.main-thread[0x11aaf0dc0] = { xref = -2147483648, ref = -2147483648, sref = 1, target = com.apple.root.default-qos.overcommit[0x11aaf2300], width = 0x1, state = 0x001ffe9e00000300, dirty, max qos 6, in-flight = 0, thread = 0x303 }>","prettyPrint":"com.apple.main-thread"}}],"messageId":240}}
detox verb ws
detox info Sync App State: undefined
detox info Sync Dispatch Queue: com.apple.main-thread
detox verb ws send: {"type":"currentStatus","params":{},"messageId":241}
detox verb ws onMessage: {"type":"currentStatusResult","messageId":241,"params":{"state":"busy","resources":[{"name":"Dispatch Queue","info":{"queue":"<OS_dispatch_queue_main: com.apple.main-thread[0x11aaf0dc0] = { xref = -2147483648, ref = -2147483648, sref = 1, target = com.apple.root.default-qos.overcommit[0x11aaf2300], width = 0x1, state = 0x001ffe9e00000300, dirty, max qos 6, in-flight = 0, thread = 0x303 }>","prettyPrint":"com.apple.main-thread"}}],"messageId":241}}
detox verb ws
detox info Sync Dispatch Queue: com.apple.main-thread
detox verb ws send: {"type":"currentStatus","params":{},"messageId":242}
detox verb ws onMessage: {"type":"currentStatusResult","messageId":242,"params":{"state":"busy","resources":[{"name":"Dispatch Queue","info":{"queue":"<OS_dispatch_queue_main: com.apple.main-thread[0x11aaf0dc0] = { xref = -2147483648, ref = -2147483648, sref = 1, target = com.apple.root.default-qos.overcommit[0x11aaf2300], width = 0x1, state = 0x001ffe9e00000300, dirty, max qos 6, in-flight = 0, thread = 0x303 }>","prettyPrint":"com.apple.main-thread"}}],"messageId":242}}
detox verb ws
detox info Sync Dispatch Queue: com.apple.main-thread
detox verb ws send: {"type":"currentStatus","params":{},"messageId":243}
detox verb ws onMessage: {"type":"currentStatusResult","messageId":243,"params":{"state":"busy","resources":[{"name":"Dispatch Queue","info":{"queue":"<OS_dispatch_queue_main: com.apple.main-thread[0x11aaf0dc0] = { xref = -2147483648, ref = -2147483648, sref = 1, target = com.apple.root.default-qos.overcommit[0x11aaf2300], width = 0x1, state = 0x001ffe9e00000300, dirty, max qos 6, in-flight = 0, thread = 0x303 }>","prettyPrint":"com.apple.main-thread"}}],"messageId":243}}
detox verb ws
detox info Sync Dispatch Queue: com.apple.main-thread
detox verb ws send: {"type":"currentStatus","params":{},"messageId":244}
detox verb ws onMessage: {"type":"currentStatusResult","messageId":244,"params":{"state":"busy","resources":[{"name":"Dispatch Queue","info":{"queue":"<OS_dispatch_queue_main: com.apple.main-thread[0x11aaf0dc0] = { xref = -2147483648, ref = -2147483648, sref = 1, target = com.apple.root.default-qos.overcommit[0x11aaf2300], width = 0x1, state = 0x001ffe9e00000300, dirty, max qos 6, in-flight = 0, thread = 0x303 }>","prettyPrint":"com.apple.main-thread"}}],"messageId":244}}
detox verb ws
detox info Sync Dispatch Queue: com.apple.main-thread
detox verb ws send: {"type":"currentStatus","params":{},"messageId":245}
detox verb ws onMessage: {"type":"currentStatusResult","messageId":245,"params":{"state":"busy","resources":[{"name":"Dispatch Queue","info":{"queue":"<OS_dispatch_queue_main: com.apple.main-thread[0x11aaf0dc0] = { xref = -2147483648, ref = -2147483648, sref = 1, target = com.apple.root.default-qos.overcommit[0x11aaf2300], width = 0x1, state = 0x001ffe9e00000300, dirty, max qos 6, in-flight = 0, thread = 0x303 }>","prettyPrint":"com.apple.main-thread"}}],"messageId":245}}
detox verb ws
detox info Sync Dispatch Queue: com.apple.main-thread
detox verb ws send: {"type":"currentStatus","params":{},"messageId":246}
detox verb ws onMessage: {"type":"currentStatusResult","messageId":246,"params":{"state":"busy","resources":[{"name":"Timer","info":{"prettyPrint":"Tracking Timer <__NSCFTimer: 0x600000366900>","timer":"<__NSCFTimer: 0x600000366900>","name":"Tracking Timer <__NSCFTimer: 0x600000366900>","nextFireDate":"Wednesday, April 25, 2018 at 4:08:09 PM Pacific Daylight Time"}},{"name":"Timed","info":{"endTrackingDate":"Thursday, January 1, 1970 at 3:34:02 AM Pacific Standard Time","object":"Delayed performSelector","name":"performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow","prettyPrint":"performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow","duration":0.2}},{"name":"Timed","info":{"endTrackingDate":"Thursday, January 1, 1970 at 3:34:02 AM Pacific Standard Time","object":"<NSObject: 0x600000203ef0>","name":"animateWithDuration:delay:options:animations:completion:","prettyPrint":"animateWithDuration:delay:options:animations:completion:","duration":0.2}},{"name":"App State","info":{"elements":["<UIViewController: 0x7fd4a800e040>","<RCTTouchHandler: 0x7fd4a2e3f980; baseClass = UIGestureRecognizer; state = Began; cancelsTouchesInView = NO; delaysTouchesEnded = NO; view = <RCTRootContentView 0x7fd4a2e88d00>>","<_UISystemGestureGateGestureRecognizer: 0x6040001d8f60; state = Failed; delaysTouchesBegan = YES; delaysTouchesEnded = NO; view = <UIWindow 0x7fd4a804f180>>","<_UISystemGestureGateGestureRecognizer: 0x6080003c7e90; state = Failed; delaysTouchesEnded = NO; view = <UIWindow 0x7fd4a804f180>>","<COSTouchSpotView: 0x7fd4a2e8d960; baseClass = UIImageView; frame = (187.5 333.5; 0 0); alpha = 0; opaque = NO; userInteractionEnabled = NO; animations = { opacity=<CABasicAnimation: 0x60000042d000>; bounds.origin=<CABasicAnimation: 0x600000420c20>; bounds.size=<CABasicAnimation: 0x600000238000>; }; layer = <CALayer: 0x600000431de0>> - (null)","<CALayer: 0x6000000352c0>","<UIWindowLayer: 0x600000431280>","<CALayer: 0x600000431de0>","<UIWindowLayer: 0x600000431640>","<COSTouchSpotView: 0x7fd4a2e966e0; baseClass = UIImageView; frame = (162.5 308.5; 50 50); alpha = 0.5; opaque = NO; userInteractionEnabled = NO; tag = 140551242966432; layer = <CALayer: 0x6000000352c0>> - (null)","<TouchVisualizerWindow: 0x7fd4a2e96020; baseClass = UIWindow; frame = (0 0; 375 667); userInteractionEnabled = NO; gestureRecognizers = <NSArray: 0x6000004465d0>; layer = <UIWindowLayer: 0x600000431640>>","<UIWindowLayer: 0x600000430fa0>"],"appState":"Waiting for an animation to finish. Continuous animations may never finish and must be stopped explicitly. Animations attached to hidden view may still be running in the background.\nWaiting for window's root view controller's view to appear.\nWaiting for gesture recognizer to detect or fail an ongoing gesture.\nWaiting for view's draw or layout pass to complete."}},{"name":"Dispatch Queue","info":{"queue":"<OS_dispatch_queue_main: com.apple.main-thread[0x11aaf0dc0] = { xref = -2147483648, ref = -2147483648, sref = 1, target = com.apple.root.default-qos.overcommit[0x11aaf2300], width = 0x1, state = 0x001ffe9e00000300, dirty, max qos 6, in-flight = 0, thread = 0x303 }>","prettyPrint":"com.apple.main-thread"}}],"messageId":246}}
detox verb ws
detox info Sync Timer: Tracking Timer <__NSCFTimer: 0x600000366900>
detox info Sync Timed: performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow
detox info Sync Timed: animateWithDuration:delay:options:animations:completion:
detox info Sync App State: undefined
detox info Sync Dispatch Queue: com.apple.main-thread
detox verb ws send: {"type":"currentStatus","params":{},"messageId":247}
detox verb ws onMessage: {"type":"currentStatusResult","messageId":247,"params":{"state":"busy","resources":[{"name":"Timer","info":{"prettyPrint":"Tracking Timer <__NSCFTimer: 0x600000366900>","timer":"<__NSCFTimer: 0x600000366900>","name":"Tracking Timer <__NSCFTimer: 0x600000366900>","nextFireDate":"Wednesday, April 25, 2018 at 4:08:09 PM Pacific Daylight Time"}},{"name":"Timed","info":{"endTrackingDate":"Thursday, January 1, 1970 at 3:34:02 AM Pacific Standard Time","object":"Delayed performSelector","name":"performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow","prettyPrint":"performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow","duration":0.2}},{"name":"Timed","info":{"endTrackingDate":"Thursday, January 1, 1970 at 3:34:02 AM Pacific Standard Time","object":"<NSObject: 0x600000203ef0>","name":"animateWithDuration:delay:options:animations:completion:","prettyPrint":"animateWithDuration:delay:options:animations:completion:","duration":0.2}},{"name":"App State","info":{"elements":["<UIViewController: 0x7fd4a800e040>","<CABasicAnimation: 0x600000420c20>","<RCTTouchHandler: 0x7fd4a2e3f980; baseClass = UIGestureRecognizer; state = Began; cancelsTouchesInView = NO; delaysTouchesEnded = NO; view = <RCTRootContentView 0x7fd4a2e88d00>>","<_UISystemGestureGateGestureRecognizer: 0x6040001d8f60; state = Failed; delaysTouchesBegan = YES; delaysTouchesEnded = NO; view = <UIWindow 0x7fd4a804f180>>","<_UISystemGestureGateGestureRecognizer: 0x6080003c7e90; state = Failed; delaysTouchesEnded = NO; view = <UIWindow 0x7fd4a804f180>>","<CABasicAnimation: 0x60000042d000>","<CABasicAnimation: 0x600000238000>"],"appState":"Waiting for an animation to finish. Continuous animations may never finish and must be stopped explicitly. Animations attached to hidden view may still be running in the background.\nWaiting for window's root view controller's view to appear.\nWaiting for gesture recognizer to detect or fail an ongoing gesture."}},{"name":"Dispatch Queue","info":{"queue":"<OS_dispatch_queue_main: com.apple.main-thread[0x11aaf0dc0] = { xref = -2147483648, ref = -2147483648, sref = 1, target = com.apple.root.default-qos.overcommit[0x11aaf2300], width = 0x1, state = 0x001ffe9e00000300, dirty, max qos 6, in-flight = 0, thread = 0x303 }>","prettyPrint":"com.apple.main-thread"}}],"messageId":247}}
detox verb ws
detox info Sync Timer: Tracking Timer <__NSCFTimer: 0x600000366900>
detox info Sync Timed: performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow
detox info Sync Timed: animateWithDuration:delay:options:animations:completion:
detox info Sync App State: undefined
detox info Sync Dispatch Queue: com.apple.main-thread
detox verb ws send: {"type":"currentStatus","params":{},"messageId":248}
detox verb ws onMessage: {"type":"currentStatusResult","messageId":248,"params":{"state":"busy","resources":[{"name":"Timer","info":{"prettyPrint":"Tracking Timer <__NSCFTimer: 0x600000366900>","timer":"<__NSCFTimer: 0x600000366900>","name":"Tracking Timer <__NSCFTimer: 0x600000366900>","nextFireDate":"Wednesday, April 25, 2018 at 4:08:09 PM Pacific Daylight Time"}},{"name":"Timed","info":{"endTrackingDate":"Thursday, January 1, 1970 at 3:34:02 AM Pacific Standard Time","object":"Delayed performSelector","name":"performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow","prettyPrint":"performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow","duration":0.2}},{"name":"Timed","info":{"endTrackingDate":"Thursday, January 1, 1970 at 3:34:02 AM Pacific Standard Time","object":"<NSObject: 0x600000203ef0>","name":"animateWithDuration:delay:options:animations:completion:","prettyPrint":"animateWithDuration:delay:options:animations:completion:","duration":0.2}},{"name":"App State","info":{"elements":["<UIViewController: 0x7fd4a800e040>","<CABasicAnimation: 0x600000420c20>","<RCTTouchHandler: 0x7fd4a2e3f980; baseClass = UIGestureRecognizer; state = Began; cancelsTouchesInView = NO; delaysTouchesEnded = NO; view = <RCTRootContentView 0x7fd4a2e88d00>>","<_UISystemGestureGateGestureRecognizer: 0x6040001d8f60; state = Failed; delaysTouchesBegan = YES; delaysTouchesEnded = NO; view = <UIWindow 0x7fd4a804f180>>","<_UISystemGestureGateGestureRecognizer: 0x6080003c7e90; state = Failed; delaysTouchesEnded = NO; view = <UIWindow 0x7fd4a804f180>>","<CABasicAnimation: 0x60000042d000>","<CABasicAnimation: 0x600000238000>"],"appState":"Waiting for an animation to finish. Continuous animations may never finish and must be stopped explicitly. Animations attached to hidden view may still be running in the background.\nWaiting for window's root view controller's view to appear.\nWaiting for gesture recognizer to detect or fail an ongoing gesture."}},{"name":"Dispatch Queue","info":{"queue":"<OS_dispatch_queue_main: com.apple.main-thread[0x11aaf0dc0] = { xref = -2147483648, ref = -2147483648, sref = 1, target = com.apple.root.default-qos.overcommit[0x11aaf2300], width = 0x1, state = 0x001ffe9e00000300, dirty, max qos 6, in-flight = 0, thread = 0x303 }>","prettyPrint":"com.apple.main-thread"}}],"messageId":248}}
detox verb ws
detox info Sync Timer: Tracking Timer <__NSCFTimer: 0x600000366900>
detox info Sync Timed: performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow
detox info Sync Timed: animateWithDuration:delay:options:animations:completion:
detox info Sync App State: undefined
detox info Sync Dispatch Queue: com.apple.main-thread
detox verb ws send: {"type":"currentStatus","params":{},"messageId":249}
detox verb ws onMessage: {"type":"currentStatusResult","messageId":249,"params":{"state":"busy","resources":[{"name":"Timed","info":{"endTrackingDate":"Thursday, January 1, 1970 at 3:34:03 AM Pacific Standard Time","object":"Delayed performSelector","name":"performSelector @selector(removeFromSuperview) on COSTouchSpotView","prettyPrint":"performSelector @selector(removeFromSuperview) on COSTouchSpotView","duration":0.6}},{"name":"Timed","info":{"endTrackingDate":"Thursday, January 1, 1970 at 3:34:02 AM Pacific Standard Time","object":"Delayed performSelector","name":"performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow","prettyPrint":"performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow","duration":0.2}},{"name":"Timed","info":{"endTrackingDate":"Thursday, January 1, 1970 at 3:34:02 AM Pacific Standard Time","object":"<NSObject: 0x600000203ef0>","name":"animateWithDuration:delay:options:animations:completion:","prettyPrint":"animateWithDuration:delay:options:animations:completion:","duration":0.2}},{"name":"App State","info":{"elements":["<UIViewController: 0x7fd4a800e040>","<CABasicAnimation: 0x600000420c20>","<CABasicAnimation: 0x60c000427ac0>","<CABasicAnimation: 0x60c000427880>","<CABasicAnimation: 0x60000042d000>","<CABasicAnimation: 0x600000238000>","<CABasicAnimation: 0x60c0004275e0>"],"appState":"Waiting for an animation to finish. Continuous animations may never finish and must be stopped explicitly. Animations attached to hidden view may still be running in the background.\nWaiting for window's root view controller's view to appear."}},{"name":"Dispatch Queue","info":{"queue":"<OS_dispatch_queue_main: com.apple.main-thread[0x11aaf0dc0] = { xref = -2147483648, ref = -2147483648, sref = 1, target = com.apple.root.default-qos.overcommit[0x11aaf2300], width = 0x1, state = 0x001ffe9e00000300, dirty, max qos 6, in-flight = 0, thread = 0x303 }>","prettyPrint":"com.apple.main-thread"}}],"messageId":249}}
detox verb ws
detox info Sync Timed: performSelector @selector(removeFromSuperview) on COSTouchSpotView
detox info Sync Timed: performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow
detox info Sync Timed: animateWithDuration:delay:options:animations:completion:
detox info Sync App State: undefined
detox info Sync Dispatch Queue: com.apple.main-thread
detox verb ws send: {"type":"currentStatus","params":{},"messageId":250}
detox verb ws onMessage: {"type":"currentStatusResult","messageId":250,"params":{"state":"busy","resources":[{"name":"Timed","info":{"endTrackingDate":"Thursday, January 1, 1970 at 3:34:03 AM Pacific Standard Time","object":"Delayed performSelector","name":"performSelector @selector(removeFromSuperview) on COSTouchSpotView","prettyPrint":"performSelector @selector(removeFromSuperview) on COSTouchSpotView","duration":0.6}},{"name":"Timed","info":{"endTrackingDate":"Thursday, January 1, 1970 at 3:34:02 AM Pacific Standard Time","object":"Delayed performSelector","name":"performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow","prettyPrint":"performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow","duration":0.2}},{"name":"Timed","info":{"endTrackingDate":"Thursday, January 1, 1970 at 3:34:02 AM Pacific Standard Time","object":"<NSObject: 0x600000203ef0>","name":"animateWithDuration:delay:options:animations:completion:","prettyPrint":"animateWithDuration:delay:options:animations:completion:","duration":0.2}},{"name":"App State","info":{"elements":["<UIViewController: 0x7fd4a800e040>","<CABasicAnimation: 0x600000420c20>","<CABasicAnimation: 0x60c000427ac0>","<CABasicAnimation: 0x60c000427880>","<CABasicAnimation: 0x60000042d000>","<CABasicAnimation: 0x600000238000>","<CABasicAnimation: 0x60c0004275e0>"],"appState":"Waiting for an animation to finish. Continuous animations may never finish and must be stopped explicitly. Animations attached to hidden view may still be running in the background.\nWaiting for window's root view controller's view to appear."}},{"name":"Dispatch Queue","info":{"queue":"<OS_dispatch_queue_main: com.apple.main-thread[0x11aaf0dc0] = { xref = -2147483648, ref = -2147483648, sref = 1, target = com.apple.root.default-qos.overcommit[0x11aaf2300], width = 0x1, state = 0x001ffe9e00000300, dirty, max qos 6, in-flight = 0, thread = 0x303 }>","prettyPrint":"com.apple.main-thread"}}],"messageId":250}}
detox verb ws
detox info Sync Timed: performSelector @selector(removeFromSuperview) on COSTouchSpotView
detox info Sync Timed: performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow
detox info Sync Timed: animateWithDuration:delay:options:animations:completion:
detox info Sync App State: undefined
detox info Sync Dispatch Queue: com.apple.main-thread
detox verb ws send: {"type":"currentStatus","params":{},"messageId":251}
detox verb ws onMessage: {"type":"currentStatusResult","messageId":251,"params":{"state":"busy","resources":[{"name":"Timed","info":{"endTrackingDate":"Thursday, January 1, 1970 at 3:34:03 AM Pacific Standard Time","object":"Delayed performSelector","name":"performSelector @selector(removeFromSuperview) on COSTouchSpotView","prettyPrint":"performSelector @selector(removeFromSuperview) on COSTouchSpotView","duration":0.6}},{"name":"Timed","info":{"endTrackingDate":"Thursday, January 1, 1970 at 3:34:02 AM Pacific Standard Time","object":"Delayed performSelector","name":"performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow","prettyPrint":"performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow","duration":0.2}},{"name":"Timed","info":{"endTrackingDate":"Thursday, January 1, 1970 at 3:34:02 AM Pacific Standard Time","object":"<NSObject: 0x600000203ef0>","name":"animateWithDuration:delay:options:animations:completion:","prettyPrint":"animateWithDuration:delay:options:animations:completion:","duration":0.2}},{"name":"App State","info":{"elements":["<UIViewController: 0x7fd4a800e040>","<CABasicAnimation: 0x600000420c20>","<CABasicAnimation: 0x60c000427ac0>","<CABasicAnimation: 0x60c000427880>","<CABasicAnimation: 0x60000042d000>","<CABasicAnimation: 0x600000238000>","<CABasicAnimation: 0x60c0004275e0>"],"appState":"Waiting for an animation to finish. Continuous animations may never finish and must be stopped explicitly. Animations attached to hidden view may still be running in the background.\nWaiting for window's root view controller's view to appear."}},{"name":"Dispatch Queue","info":{"queue":"<OS_dispatch_queue_main: com.apple.main-thread[0x11aaf0dc0] = { xref = -2147483648, ref = -2147483648, sref = 1, target = com.apple.root.default-qos.overcommit[0x11aaf2300], width = 0x1, state = 0x001ffe9e00000300, dirty, max qos 6, in-flight = 0, thread = 0x303 }>","prettyPrint":"com.apple.main-thread"}}],"messageId":251}}
detox verb ws
detox info Sync Timed: performSelector @selector(removeFromSuperview) on COSTouchSpotView
detox info Sync Timed: performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow
detox info Sync Timed: animateWithDuration:delay:options:animations:completion:
detox info Sync App State: undefined
detox info Sync Dispatch Queue: com.apple.main-thread
detox verb ws send: {"type":"currentStatus","params":{},"messageId":252}
detox verb ws onMessage: {"type":"currentStatusResult","messageId":252,"params":{"state":"busy","resources":[{"name":"Timed","info":{"endTrackingDate":"Thursday, January 1, 1970 at 3:34:03 AM Pacific Standard Time","object":"Delayed performSelector","name":"performSelector @selector(removeFromSuperview) on COSTouchSpotView","prettyPrint":"performSelector @selector(removeFromSuperview) on COSTouchSpotView","duration":0.6}},{"name":"Timed","info":{"endTrackingDate":"Thursday, January 1, 1970 at 3:34:02 AM Pacific Standard Time","object":"Delayed performSelector","name":"performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow","prettyPrint":"performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow","duration":0.2}},{"name":"Timed","info":{"endTrackingDate":"Thursday, January 1, 1970 at 3:34:02 AM Pacific Standard Time","object":"<NSObject: 0x600000203ef0>","name":"animateWithDuration:delay:options:animations:completion:","prettyPrint":"animateWithDuration:delay:options:animations:completion:","duration":0.2}},{"name":"App State","info":{"elements":["<UIViewController: 0x7fd4a800e040>","<CABasicAnimation: 0x600000420c20>","<CABasicAnimation: 0x60c000427ac0>","<CABasicAnimation: 0x60c000427880>","<CABasicAnimation: 0x60000042d000>","<CABasicAnimation: 0x600000238000>","<CABasicAnimation: 0x60c0004275e0>"],"appState":"Waiting for an animation to finish. Continuous animations may never finish and must be stopped explicitly. Animations attached to hidden view may still be running in the background.\nWaiting for window's root view controller's view to appear."}},{"name":"Dispatch Queue","info":{"queue":"<OS_dispatch_queue_main: com.apple.main-thread[0x11aaf0dc0] = { xref = -2147483648, ref = -2147483648, sref = 1, target = com.apple.root.default-qos.overcommit[0x11aaf2300], width = 0x1, state = 0x001ffe9e00000300, dirty, max qos 6, in-flight = 0, thread = 0x303 }>","prettyPrint":"com.apple.main-thread"}}],"messageId":252}}
detox verb ws
detox info Sync Timed: performSelector @selector(removeFromSuperview) on COSTouchSpotView
detox info Sync Timed: performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow
detox info Sync Timed: animateWithDuration:delay:options:animations:completion:
detox info Sync App State: undefined
detox info Sync Dispatch Queue: com.apple.main-thread
detox verb ws send: {"type":"currentStatus","params":{},"messageId":253}
detox verb ws onMessage: {"type":"currentStatusResult","messageId":253,"params":{"state":"busy","resources":[{"name":"Timed","info":{"endTrackingDate":"Thursday, January 1, 1970 at 3:34:03 AM Pacific Standard Time","object":"Delayed performSelector","name":"performSelector @selector(removeFromSuperview) on COSTouchSpotView","prettyPrint":"performSelector @selector(removeFromSuperview) on COSTouchSpotView","duration":0.6}},{"name":"Timed","info":{"endTrackingDate":"Thursday, January 1, 1970 at 3:34:02 AM Pacific Standard Time","object":"Delayed performSelector","name":"performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow","prettyPrint":"performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow","duration":0.2}},{"name":"Timed","info":{"endTrackingDate":"Thursday, January 1, 1970 at 3:34:02 AM Pacific Standard Time","object":"<NSObject: 0x600000203ef0>","name":"animateWithDuration:delay:options:animations:completion:","prettyPrint":"animateWithDuration:delay:options:animations:completion:","duration":0.2}},{"name":"App State","info":{"elements":["<UIViewController: 0x7fd4a800e040>","<CABasicAnimation: 0x600000420c20>","<CABasicAnimation: 0x60c000427ac0>","<CABasicAnimation: 0x60c000427880>","<CABasicAnimation: 0x60000042d000>","<CABasicAnimation: 0x600000238000>","<CABasicAnimation: 0x60c0004275e0>"],"appState":"Waiting for an animation to finish. Continuous animations may never finish and must be stopped explicitly. Animations attached to hidden view may still be running in the background.\nWaiting for window's root view controller's view to appear."}},{"name":"Dispatch Queue","info":{"queue":"<OS_dispatch_queue_main: com.apple.main-thread[0x11aaf0dc0] = { xref = -2147483648, ref = -2147483648, sref = 1, target = com.apple.root.default-qos.overcommit[0x11aaf2300], width = 0x1, state = 0x001ffe9000000300, dirty, in-flight = 0, thread = 0x303 }>","prettyPrint":"com.apple.main-thread"}}],"messageId":253}}
detox verb ws
detox info Sync Timed: performSelector @selector(removeFromSuperview) on COSTouchSpotView
detox info Sync Timed: performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow
detox info Sync Timed: animateWithDuration:delay:options:animations:completion:
detox info Sync App State: undefined
detox info Sync Dispatch Queue: com.apple.main-thread
detox verb ws onMessage: {"type":"invokeResult","messageId":1,"params":{"result":"(GREYElementInteraction)"}}
detox verb ws
[debugging] AFTER tap
detox verb ws send: {"type":"invoke","params":{"target":{"type":"Invocation","value":{"target":{"type":"EarlGrey","value":"instance"},"method":"detox_selectElementWithMatcher:","args":[{"type":"Invocation","value":{"target":{"type":"Class","value":"GREYMatchers"},"method":"matcherForAccessibilityID:","args":[{"type":"NSString","value":"logged_out/splash"}]}}]}},"method":"assertWithMatcher:","args":[{"type":"Invocation","value":{"target":{"type":"Class","value":"GREYMatchers"},"method":"matcherForSufficientlyVisible","args":[]}}]},"messageId":254}
detox verb ws send: {"type":"currentStatus","params":{},"messageId":255}
detox verb ws onMessage: {"type":"currentStatusResult","messageId":255,"params":{"state":"busy","resources":[{"name":"Timed","info":{"endTrackingDate":"Thursday, January 1, 1970 at 3:34:03 AM Pacific Standard Time","object":"Delayed performSelector","name":"performSelector @selector(removeFromSuperview) on COSTouchSpotView","prettyPrint":"performSelector @selector(removeFromSuperview) on COSTouchSpotView","duration":0.6}},{"name":"Timed","info":{"endTrackingDate":"Thursday, January 1, 1970 at 3:34:02 AM Pacific Standard Time","object":"Delayed performSelector","name":"performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow","prettyPrint":"performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow","duration":0.2}},{"name":"Timed","info":{"endTrackingDate":"Thursday, January 1, 1970 at 3:34:02 AM Pacific Standard Time","object":"<NSObject: 0x600000203ef0>","name":"animateWithDuration:delay:options:animations:completion:","prettyPrint":"animateWithDuration:delay:options:animations:completion:","duration":0.2}},{"name":"App State","info":{"elements":["<UIViewController: 0x7fd4a800e040>","<CABasicAnimation: 0x600000420c20>","<CABasicAnimation: 0x60c000427ac0>","<CABasicAnimation: 0x60c000427880>","<CABasicAnimation: 0x60000042d000>","<CABasicAnimation: 0x600000238000>","<CABasicAnimation: 0x60c0004275e0>"],"appState":"Waiting for an animation to finish. Continuous animations may never finish and must be stopped explicitly. Animations attached to hidden view may still be running in the background.\nWaiting for window's root view controller's view to appear."}},{"name":"Dispatch Queue","info":{"queue":"<OS_dispatch_queue_main: com.apple.main-thread[0x11aaf0dc0] = { xref = -2147483648, ref = -2147483648, sref = 1, target = com.apple.root.default-qos.overcommit[0x11aaf2300], width = 0x1, state = 0x001ffe9e00000300, dirty, max qos 6, in-flight = 0, thread = 0x303 }>","prettyPrint":"com.apple.main-thread"}}],"messageId":255}}
detox verb ws
detox info Sync Timed: performSelector @selector(removeFromSuperview) on COSTouchSpotView
detox info Sync Timed: performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow
detox info Sync Timed: animateWithDuration:delay:options:animations:completion:
detox info Sync App State: undefined
detox info Sync Dispatch Queue: com.apple.main-thread
detox verb ws send: {"type":"currentStatus","params":{},"messageId":256}
detox verb ws onMessage: {"type":"currentStatusResult","messageId":256,"params":{"state":"busy","resources":[{"name":"Timed","info":{"endTrackingDate":"Thursday, January 1, 1970 at 3:34:03 AM Pacific Standard Time","object":"Delayed performSelector","name":"performSelector @selector(removeFromSuperview) on COSTouchSpotView","prettyPrint":"performSelector @selector(removeFromSuperview) on COSTouchSpotView","duration":0.6}},{"name":"Timed","info":{"endTrackingDate":"Thursday, January 1, 1970 at 3:34:02 AM Pacific Standard Time","object":"Delayed performSelector","name":"performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow","prettyPrint":"performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow","duration":0.2}},{"name":"Timed","info":{"endTrackingDate":"Thursday, January 1, 1970 at 3:34:02 AM Pacific Standard Time","object":"<NSObject: 0x600000203ef0>","name":"animateWithDuration:delay:options:animations:completion:","prettyPrint":"animateWithDuration:delay:options:animations:completion:","duration":0.2}},{"name":"App State","info":{"elements":["<UIViewController: 0x7fd4a800e040>","<CABasicAnimation: 0x600000420c20>","<CABasicAnimation: 0x60c000427ac0>","<CABasicAnimation: 0x60c000427880>","<CABasicAnimation: 0x60000042d000>","<CABasicAnimation: 0x600000238000>","<CABasicAnimation: 0x60c0004275e0>"],"appState":"Waiting for an animation to finish. Continuous animations may never finish and must be stopped explicitly. Animations attached to hidden view may still be running in the background.\nWaiting for window's root view controller's view to appear."}},{"name":"Dispatch Queue","info":{"queue":"<OS_dispatch_queue_main: com.apple.main-thread[0x11aaf0dc0] = { xref = -2147483648, ref = -2147483648, sref = 1, target = com.apple.root.default-qos.overcommit[0x11aaf2300], width = 0x1, state = 0x001ffe9e00000300, dirty, max qos 6, in-flight = 0, thread = 0x303 }>","prettyPrint":"com.apple.main-thread"}}],"messageId":256}}
detox verb ws
detox info Sync Timed: performSelector @selector(removeFromSuperview) on COSTouchSpotView
detox info Sync Timed: performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow
detox info Sync Timed: animateWithDuration:delay:options:animations:completion:
detox info Sync App State: undefined
detox info Sync Dispatch Queue: com.apple.main-thread
detox verb ws send: {"type":"currentStatus","params":{},"messageId":257}
detox verb ws onMessage: {"type":"currentStatusResult","messageId":257,"params":{"state":"busy","resources":[{"name":"Timed","info":{"endTrackingDate":"Thursday, January 1, 1970 at 3:34:03 AM Pacific Standard Time","object":"Delayed performSelector","name":"performSelector @selector(removeFromSuperview) on COSTouchSpotView","prettyPrint":"performSelector @selector(removeFromSuperview) on COSTouchSpotView","duration":0.6}},{"name":"Timed","info":{"endTrackingDate":"Thursday, January 1, 1970 at 3:34:02 AM Pacific Standard Time","object":"Delayed performSelector","name":"performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow","prettyPrint":"performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow","duration":0.2}},{"name":"Timed","info":{"endTrackingDate":"Thursday, January 1, 1970 at 3:34:02 AM Pacific Standard Time","object":"<NSObject: 0x600000203ef0>","name":"animateWithDuration:delay:options:animations:completion:","prettyPrint":"animateWithDuration:delay:options:animations:completion:","duration":0.2}},{"name":"App State","info":{"elements":["<UIViewController: 0x7fd4a800e040>","<CABasicAnimation: 0x600000420c20>","<CABasicAnimation: 0x60c000427ac0>","<CABasicAnimation: 0x60c000427880>","<CABasicAnimation: 0x60000042d000>","<CABasicAnimation: 0x600000238000>","<CABasicAnimation: 0x60c0004275e0>"],"appState":"Waiting for an animation to finish. Continuous animations may never finish and must be stopped explicitly. Animations attached to hidden view may still be running in the background.\nWaiting for window's root view controller's view to appear."}},{"name":"Dispatch Queue","info":{"queue":"<OS_dispatch_queue_main: com.apple.main-thread[0x11aaf0dc0] = { xref = -2147483648, ref = -2147483648, sref = 1, target = com.apple.root.default-qos.overcommit[0x11aaf2300], width = 0x1, state = 0x001ffe9e00000300, dirty, max qos 6, in-flight = 0, thread = 0x303 }>","prettyPrint":"com.apple.main-thread"}}],"messageId":257}}
detox verb ws
detox info Sync Timed: performSelector @selector(removeFromSuperview) on COSTouchSpotView
detox info Sync Timed: performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow
detox info Sync Timed: animateWithDuration:delay:options:animations:completion:
detox info Sync App State: undefined
detox info Sync Dispatch Queue: com.apple.main-thread
detox verb ws send: {"type":"currentStatus","params":{},"messageId":258}
detox verb ws onMessage: {"type":"currentStatusResult","messageId":258,"params":{"state":"busy","resources":[{"name":"Timed","info":{"endTrackingDate":"Thursday, January 1, 1970 at 3:34:03 AM Pacific Standard Time","object":"Delayed performSelector","name":"performSelector @selector(removeFromSuperview) on COSTouchSpotView","prettyPrint":"performSelector @selector(removeFromSuperview) on COSTouchSpotView","duration":0.6}},{"name":"Timed","info":{"endTrackingDate":"Thursday, January 1, 1970 at 3:34:02 AM Pacific Standard Time","object":"Delayed performSelector","name":"performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow","prettyPrint":"performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow","duration":0.2}},{"name":"Timed","info":{"endTrackingDate":"Thursday, January 1, 1970 at 3:34:02 AM Pacific Standard Time","object":"<NSObject: 0x600000203ef0>","name":"animateWithDuration:delay:options:animations:completion:","prettyPrint":"animateWithDuration:delay:options:animations:completion:","duration":0.2}},{"name":"App State","info":{"elements":["<UIViewController: 0x7fd4a800e040>","<CABasicAnimation: 0x600000420c20>","<CABasicAnimation: 0x60c000427ac0>","<CABasicAnimation: 0x60c000427880>","<CABasicAnimation: 0x60000042d000>","<CABasicAnimation: 0x600000238000>","<CABasicAnimation: 0x60c0004275e0>"],"appState":"Waiting for an animation to finish. Continuous animations may never finish and must be stopped explicitly. Animations attached to hidden view may still be running in the background.\nWaiting for window's root view controller's view to appear."}},{"name":"Dispatch Queue","info":{"queue":"<OS_dispatch_queue_main: com.apple.main-thread[0x11aaf0dc0] = { xref = -2147483648, ref = -2147483648, sref = 1, target = com.apple.root.default-qos.overcommit[0x11aaf2300], width = 0x1, state = 0x001ffe9e00000300, dirty, max qos 6, in-flight = 0, thread = 0x303 }>","prettyPrint":"com.apple.main-thread"}}],"messageId":258}}
detox verb ws
detox info Sync Timed: performSelector @selector(removeFromSuperview) on COSTouchSpotView
detox info Sync Timed: performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow
detox info Sync Timed: animateWithDuration:delay:options:animations:completion:
detox info Sync App State: undefined
detox info Sync Dispatch Queue: com.apple.main-thread
detox verb ws send: {"type":"currentStatus","params":{},"messageId":259}
detox verb ws onMessage: {"type":"currentStatusResult","messageId":259,"params":{"state":"busy","resources":[{"name":"Timed","info":{"endTrackingDate":"Thursday, January 1, 1970 at 3:34:03 AM Pacific Standard Time","object":"Delayed performSelector","name":"performSelector @selector(removeFromSuperview) on COSTouchSpotView","prettyPrint":"performSelector @selector(removeFromSuperview) on COSTouchSpotView","duration":0.6}},{"name":"Timed","info":{"endTrackingDate":"Thursday, January 1, 1970 at 3:34:02 AM Pacific Standard Time","object":"Delayed performSelector","name":"performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow","prettyPrint":"performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow","duration":0.2}},{"name":"Timed","info":{"endTrackingDate":"Thursday, January 1, 1970 at 3:34:02 AM Pacific Standard Time","object":"<NSObject: 0x600000203ef0>","name":"animateWithDuration:delay:options:animations:completion:","prettyPrint":"animateWithDuration:delay:options:animations:completion:","duration":0.2}},{"name":"App State","info":{"elements":["<UIViewController: 0x7fd4a800e040>","<CABasicAnimation: 0x600000420c20>","<CABasicAnimation: 0x60c000427ac0>","<CABasicAnimation: 0x60c000427880>","<CABasicAnimation: 0x60000042d000>","<CABasicAnimation: 0x600000238000>","<CABasicAnimation: 0x60c0004275e0>"],"appState":"Waiting for an animation to finish. Continuous animations may never finish and must be stopped explicitly. Animations attached to hidden view may still be running in the background.\nWaiting for window's root view controller's view to appear."}},{"name":"Dispatch Queue","info":{"queue":"<OS_dispatch_queue_main: com.apple.main-thread[0x11aaf0dc0] = { xref = -2147483648, ref = -2147483648, sref = 1, target = com.apple.root.default-qos.overcommit[0x11aaf2300], width = 0x1, state = 0x001ffe9e00000300, dirty, max qos 6, in-flight = 0, thread = 0x303 }>","prettyPrint":"com.apple.main-thread"}}],"messageId":259}}
detox verb ws
detox info Sync Timed: performSelector @selector(removeFromSuperview) on COSTouchSpotView
detox info Sync Timed: performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow
detox info Sync Timed: animateWithDuration:delay:options:animations:completion:
detox info Sync App State: undefined
detox info Sync Dispatch Queue: com.apple.main-thread
detox verb ws send: {"type":"currentStatus","params":{},"messageId":260}
detox verb ws onMessage: {"type":"currentStatusResult","messageId":260,"params":{"state":"busy","resources":[{"name":"Timed","info":{"endTrackingDate":"Thursday, January 1, 1970 at 3:34:03 AM Pacific Standard Time","object":"Delayed performSelector","name":"performSelector @selector(removeFromSuperview) on COSTouchSpotView","prettyPrint":"performSelector @selector(removeFromSuperview) on COSTouchSpotView","duration":0.6}},{"name":"Timed","info":{"endTrackingDate":"Thursday, January 1, 1970 at 3:34:02 AM Pacific Standard Time","object":"Delayed performSelector","name":"performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow","prettyPrint":"performSelector @selector(removeInactiveFingerTips) on COSTouchVisualizerWindow","duration":0.2}},{"name":"Timed","info":{"endTrackingDate":"Thursday, January 1, 1970 at 3:34:02 AM Pacific Standard Time","object":"<NSObject: 0x600000203ef0>","name":"animateWithDuration:delay:options:animations:completion:","prettyPrint":"animateWithDuration:delay:options:animations:completion:","duration":0.2}},{"name":"App State","info":{"elements":["<UIViewController: 0x7fd4a800e040>","<CABasicAnimation: 0x600000420c20>","<CABasicAnimation: 0x60c000427ac0>","<CABasicAnimation: 0x60c000427880>","<CABasicAnimation: 0x60000042d000>","<CABasicAnimation: 0x600000238000>","<CABasicAnimation: 0x60c0004275e0>"],"appState":"Waiting for an animation to finish. Continuous animations may never finish and must be stopped explicitly. Animations attached to hidden view may still be running in the background.\nWaiting for window's root view controller's view to appear."}},{"name":"Dispatch Queue","info":{"queue":"<OS_dispatch_queue_main: com.apple.main-thread[0x11aaf0dc0] = { xref = -2147483648, ref = -2147483648, sref = 1, target = com.apple.root.default-qos.overcommit[0x11aaf2300], width = 0x1, state = 0x001ffe9e00000300, dirty, max qos 6, in-flight = 0, thread = 0x303 }>","prettyPrint":"com.apple.main-thread"}}],"messageId":260}}
detox verb ws.... |
Seems like you have endless animations running.
|
If I take out the {
"name": "App State",
"info": {
"elements": ["<CABasicAnimation: 0x60400062aea0>", "<CABasicAnimation: 0x6040006338e0>", "<CABasicAnimation: 0x600000626ae0>", "<CABasicAnimation: 0x600000626b00>", "<CABasicAnimation: 0x604000636640>", "<CABasicAnimation: 0x604000633700>", "<CABasicAnimation: 0x60000043cca0>", "<CABasicAnimation: 0x600000624a40>", "<CABasicAnimation: 0x600000624ee0>"],
"appState": "Waiting for an animation to finish. Continuous animations may never finish and must be stopped explicitly. Animations attached to hidden view may still be running in the background."
}
} but the tests are able to complete, and |
Ok, so I figured it out. Basically, the root view controller is first getting set via the Earl Gray is running monitoring whether the app is running, it waits for this original view controller to come back into view. I'm not sure why this doesn't effect tests before the Removing the |
Description
When tests don't include a tap,
device.reloadReactNative()
completes successfully. However when a call to.tap()
is included, reloadReactNative never completes.Similar to #488, #617, #660 - StackOverflow post. A workaround for this - you can call the following instead of
device.reloadReactNative()
and tests will function correctly, at the cost of a longer delay.Steps to Reproduce
logged_out.spec.js
Detox, Node, Device, Xcode and macOS Versions
Verbose Detox logs
websocket server
detox config
The text was updated successfully, but these errors were encountered: