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

Sign In or Register to comment.