【问题标题】:Failed to get matching snapshot: Lost connection to the application未能获得匹配的快照:失去与应用程序的连接
【发布时间】: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


    【解决方案1】:

    我是 AWS Device Farm 团队的一名工程师。你介意给我一个运行 url 以便我看看你的测试执行吗?

    为了获得更好的帮助,我建议利用 AWS Device Farm 论坛作为联系像我这样的服务团队成员的媒介:https://forums.aws.amazon.com/forum.jspa?forumID=193

    安迪

    【讨论】:

    猜你喜欢
    • 2020-07-30
    • 2011-08-26
    • 2019-10-22
    • 2014-11-24
    • 1970-01-01
    • 2018-01-28
    • 2011-08-04
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多