Forum General

UITest on App Center - accepting notification permissions dialog on iOS

JamesLaveryJamesLavery GBBeta, University ✭✭✭✭✭

Posting here as there seems to be no other support forum for App Center and UITest.

Our app uses Push Notifications, and so when it is first installed on an iOS device, the OS displays a permissions dialog.

When running tests remotely in Microsoft App Center, this dialog is preventing progress through to the main screen.

How can we automatically accept this dialog?

When examining using repl() and tree, the dialog isn't showing in the UI elements, so we can't access it from UITEST.

This post discusses it but doesn't have a solution.

Versions: Xamarin.UITest 2.2.5 Test device: iOS 11.1.2

Tagged:

Posts

  • AlfredoRomeroAlfredoRomero USUniversity ✭✭

    Same issue here @JamesLavery did you found any solution?

  • nsaransara Member ✭✭

    Anyone have a solution for this? I was able to run my android app on a simulator and was able to access the dialog UI elements using repl() tree. However, Can't run the repl() for iOS as I'm using a windows machine and it won't support the tests on simulator. Thanks in advance.

Sign In or Register to comment.