1 Reply
      Latest reply on Aug 6, 2019 1:09 AM by chbeer
      stuart170 Level 1 Level 1 (0 points)

        I'm currently writing UI tests around FaceID, and I've hit a problem trying to interact with the "Face Not Recognised, Try Again" alert after triggering a non-matching face. Specifically, neither the alert nor any of its buttons appear accessible to the UI tests. It doesn't trigger `addUIInterruptionMonitor()` when it appears. Adding a breakpoint at this point and examining the `XCUIApplication` instance doesn't show the alert anywhere in its heirarchy. I'm guessing that the alert (and the rest of the FaceID UI) is rendered out-of-process.

         

        (I also have no luck going via Springboard.)

         

        Has anyone managed to get UI tests to interact with this alert? Is there anything else I should try to get this working?