How do I UI test a SwiftUI document application on iPad

I created the minimal document app from the given template in Xcode with a DocumentGroup.
When I try to record the creation of a new document or the opening of an existing document with XCTest for UI testing nothing happens.

If I have a document app in SwiftUI how do I UI test it on the iPad ( selection of document, creation of document)?


How do I UI test a SwiftUI document application on iPad
 
 
Q