Using ARKit Replay Data option in UI tests

In the Run scheme options for my ARKit application I am able to select a Reality Composer video to be replayed instead of using the devices camera/sensors. This is very useful for manual testing of my AR application. But what I would really like to do is use this features in my automated UI tests. However, when launching my application:

let app = XCUIApplication()
app.launch()

The Reality Composer video is not replayed.

Am I missing something? Is this feature supported in UI Tests?

Post not yet marked as solved Up vote post of nick.wooga2 Down vote post of nick.wooga2
196 views

Replies

Use app.activate()