0

I'm trying to test an App using Detox and I want to programmatically click on the cancel button or any other button on the (Apple|Google)Pay dialog and I can't find a way to do that !

enter image description here

1 Answers1

0

This is not supported, because the alert is displayed from a different process. The suggested way to tackle this is to mock this API and not display it when testing.

Léo Natan
  • 56,823
  • 9
  • 150
  • 195