【发布时间】:2021-07-20 22:45:41
【问题描述】:
我从 AWS DeviceFarm 开始,并尝试将其集成到我的 CI 管道中。最近,当我在我的设备投票上运行我的应用程序测试时,我收到了错误
Failed to get matching snapshot: Lost connection to the application (pid 402). (Underlying Error: Couldn’t communicate with a helper application. Try your operation again. If that fails, quit and relaunch the application and try again. The connection to service on pid 0 created from an endpoint was invalidated.)
此错误总是发生在特定设备上:装有 iOS 13.6 的 iPad Air 2 和 装有 iOS 13.1.3 的 iPhone 11 Pro Max。
我使用相同版本的模拟器在本地对其进行了测试,但没有遇到任何错误。对我来说,它看起来像是环境中的东西。
谁能确认是环境问题还是我该如何解决?
我正在使用 XCUITest 和 Swift 编写我的 UI 测试
谢谢你:)
【问题讨论】:
标签: ios amazon-web-services xcuitest aws-device-farm