I have some trouble to use this API https://developer.apple.com/documentation/xctest/xcuisystem/4108234-open in UI testing.
Calling this API that opens my app but a system dialog Open in "MyApp"
will show.
XCUIDevice.shared.system.open(url)
is a sync API, so I can't use my test to tap on the "Open" button on the dialog.
This basically makes the API unusable, are there some way to bypass this system dialog?