Hi,
I found problem when my app run UITests using Xcode 12 beta 12A6159.
It always give this error
Failed to get matching snapshot: Error getting main window kAXErrorAPIDisabled
I tried to po app.otherElements or app.collectionViews but always give me empty result.
Here is my code snippet:
I found problem when my app run UITests using Xcode 12 beta 12A6159.
It always give this error
Failed to get matching snapshot: Error getting main window kAXErrorAPIDisabled
I tried to po app.otherElements or app.collectionViews but always give me empty result.
Here is my code snippet:
Code Block let app = XCUIApplication() app.launch() let homeCollection = app.collectionViews.firstMatch homeCollection.waitForExistence(timeout: 10) measure(metrics: [XCTOSSignpostMetric.scrollDecelerationMetric]) { homeCollection.swipeUp(velocity: .fast) }