From 95a9ae562851b99bef27d954545369f20069d3ac Mon Sep 17 00:00:00 2001 From: finalerock44 Date: Sat, 28 Nov 2026 18:03:35 +0000 Subject: [PATCH] docs(e2e): Face ID on iOS devices How an e2e test enrols Face ID and answers a prompt with a match or a non-match on a DeviceCloud iOS device, what a non-match leaves on screen, that Touch ID and Android fingerprints are not available, and how passkey sheets can be pressed. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index c686bdb..c92c641 100644 --- a/README.md +++ b/README.md @@ -167,6 +167,8 @@ Run `npx e2e run` with `DEVICE_CLOUD_API_KEY` set. The provider uploads `appPath With e2e's `video` option on (any setting but `'off'`), each test's video in e2e's report is a console link to that test's part of the session's recording. The session is recorded as one video, so the link plays the part from the test's start to its end; it works once the session has ended and its video has uploaded, for as long as the session's files are kept. +Face ID works on iOS devices. Enrol it with `device.enrollBiometrics('faceid', true)` before the step that opens the prompt. Then `device.setBiometrics('faceid', 'match')` or `'nonmatch'` answers the prompt that is open or opens next, so call it straight after that step: DeviceCloud waits up to 8 seconds for the prompt to open and answers once it can take the answer. A non-match leaves the prompt up showing "Face Not Recognised", as on a phone, and your app hears nothing until the test cancels it with `device.alert('dismiss')` or presses **Try Face ID Again** and answers again. Touch ID and Android fingerprints aren't available: every DeviceCloud iOS device has Face ID, and the Android devices have no screen lock or enrolled fingerprint. Passkey sheets ("Save a passkey?", "Sign In") are drawn by iOS outside your app, so screen reads don't list their buttons; an agent step can press them from the screenshot, or a test can tap their coordinates. + ## Telemetry