The issue I'm facing is that there is a custom keyboard that is used by the Braintree library.
The issue is the keyboard doesn’t show up in the detox hierarchy. It’s not that it doesn’t have an id, it’s that it’s simply not there. I tested this by going to the view you see in the screenshot and failing the test to see what detox sees.
I can't simply typeText since the keyboard doesn't have the standard format. typeText simply does nothing and fails silenty. Here's what it looks like.
I’ve even tried tapAtPoint but it dismissed the keyboard because the tap ends up behind the keyboard, dismissing it.
Detox issue at https://github.com/wix/Detox/issues/1031

Aucun commentaire:
Enregistrer un commentaire