Skip to content

[Technical Questions] UI Test work locally but fail on github #178

Discussion options

You must be logged in to vote

Re my comment above: looking at the build artifact, it looks like the simulator used an iPhone 16 Pro with iOS 18.3.1. Also, looking at the build artifact, the test is interrupted by a HealthKit permissions sheet. At some point, a component of the code is accessing HealthKit and needs permission. In order to get permission, a sheet appears like this:

To fix this, I would include code to either block the app from using HealthKit during this test (with launch arguments) or include code in the test setup to grant HealthKit access.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@nriedman
Comment options

@nriedman
Comment options

Answer selected by Oliviaaaaa-Feng
@Oliviaaaaa-Feng
Comment options

Oliviaaaaa-Feng Mar 16, 2025
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants