我目前正在构建一个概念验证,以查看我们是否可以使用Detox端到端测试使用Expo构建的React Native应用。
我已按照here的说明进行操作,但测试已超时。在跟踪模式下运行测试时,出现以下错误:
detox[11493] WARN: [Client.js/PENDING_REQUESTS] App has not responded to the network requests below:
(id = 2) invoke: {"target":{"type":"Invocation","value":{"target":{"type":"EarlGrey","value":"instance"},"method":"det
ox_selectElementWithMatcher:","args":[{"type":"Invocation","value":{"target":{"type":"Class","value":"GREYMatchers"},"method":"matcherForAccessibilityID:","args":[{"type":"NSString","value":"vwGatedBackground"}]}}]}},"method":"assertWithMatcher:","args":[{"type":"Invocation","value":{"target":{"type":"Class","value":"GREYMatchers"},"method":"matcherForSufficientlyVisible","args":[]}}]}
(id = -1000) isReady: {}
That might be the reason why the test "Example should have welcome screen" has timed out.
有没有人有过运行此设置的经验?我仅针对iOS进行测试,并使用XCode iOS模拟器。
据我所知,这是社区支持的集成,而不是Detox正式提供的功能,因此这可能行不通,但我想我要检查一下是否有人有运气运行此设置?