Accessing Watch Faces with the XCUITest Framework

Viewed 43

Context

I'm building Unit Tests for the Apple Watch using the XCUITest library. I'd like to take screenshots of the Watch Faces on the simulator, so I was thinking on using the bundle ID of the 'Clock App' via the:

XCUIApplication(bundleIdentifier: "com.bundle.applicationName")

But I can't seem to be able to control the watch faces on my UI Test.

Specific Question

  • Is there a way to get Apple's Watch Application's Bundle IDs?
  • Alternatively, is there a better way of trying to control the Watch Faces?
0 Answers
Related