-How to enter device passcode in wireless test automation
I am using XCTest to run a test with Xcode wireless debugging feature turned on. Setting up wireless debugging needs passcode enabled on iPhone
In the test, it will lock the screen in the middle of workflow. When unlocking the screen, it asks for a device passcode. But I could not find a way to enter device passcode. Since at this moment, XCUIApplication could not find any element on the passcode screen.
Can anyone know:
What Bundle ID is the passcode screen? Or
How to type or enter device passcode using automation?