Unable to add UI test to app clip

I would like to create some UI tests for an App Clip. But when adding the UI Test target, I am unable to select the app clip target as the target to be tested (It's greyed out).

The only target I can add is the "real" app.

Any suggestions? Isn't it possible, or do I need to configure it somehow?

You may be able to create a UI test that launches your app clip without setting it as the target (perhaps by navigating to a URL in Safari?), and then interact with it by creating a new XCUIApplication instance using your app clip's bundle identifier.

https://developer.apple.com/documentation/xctest/xcuiapplication/2879415-init

Unable to add UI test to app clip
 
 
Q