How to use ARKit replay in XCUITest?

Now I am trying to test some AR features in our App by using XCUITest. I was wondering how to use it in XCUItest?

How to use ARKit replay in XCUITest?
 
 
Q