How to automate biometric feature?

Hello ,

Our app has bio-metric feature for authentication. Is there any how to automate using XCUITest/Espresso framework?

please help on this request

XCUiTest driver allows to test biometric on Simulators. Here are some examples: https://github.com/appium/appium-xcuitest-driver/blob/master/test/functional/basic/touch-id-e2e-specs.js

Espresso driver also allows to do it only on Emulators. It has https://github.com/appium/appium-espresso-driver#mobile-execemuconsolecommand, which allows to execute finger touch snippets as described in https://genuinecoder.com/emulating-fingerprint-android-emulator-api-html/