Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Biometric authentication cannot be cancelled #1121

Closed
calcazar opened this issue Jan 16, 2019 · 4 comments
Closed

Biometric authentication cannot be cancelled #1121

calcazar opened this issue Jan 16, 2019 · 4 comments

Comments

@calcazar
Copy link

Description

My team is currently writting detox tests for touch ID. At the moment we have the happy path working by using a combination of detox, execSync, and AppleSimulatorUtils. The happy path works, we enroll before we launch, emulate a finger print read using --finger, and we are on our way

The problem is trying to hit "Cancel" on the touch ID prompt. We tried tap at certain coordinates and it only taps the background and not the actual cancel button. Looking at the output of detox, it doesn't acknowledge the touch ID prompt at all. We went in to the xcode hierarchy view and even that view doesn't show the touch ID dialogue.

Steps to Reproduce

start a test and enroll the device with a finger print

run detox and try to tap on Cancel by any means necessary.

Detox, Node, Device, Xcode and macOS Versions

  • Detox: 9.0.4
  • React Native: 57.1
  • Node: 6.4.1
  • Device: iPhone 7
  • Xcode: 10
  • macOS: Mojave

Device and verbose Detox logs

Everything works.. no errors, just can't tap cancel on the touch ID dialogue

@LeoNatan
Copy link
Contributor

Ah, cancel. Hmm

Can you please open an issue on AppleSimUtils?

@LeoNatan LeoNatan changed the title Touch ID dialogue can't be tapped Biometric authentication cannot be cancelled Jan 23, 2019
@LeoNatan
Copy link
Contributor

I am not sure this can be supported in AppleSimUtils but I will take a look when I have time. Please open an issue there.

@calcazar
Copy link
Author

Will do! Thank you!

@LeoNatan
Copy link
Contributor

This should be in AppleSimUtils.

@lock lock bot locked as resolved and limited conversation to collaborators Apr 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants