Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure Faslane To Run Snapshot Tests #292

Merged
merged 15 commits into from
Sep 22, 2024
Merged

Conversation

thomaskioko
Copy link
Owner

@thomaskioko thomaskioko commented Sep 15, 2024

This PR sets up Fastlane for the iOS App.

Note
I changed the recorded images because I used a different device to record the snapshots. To avoid future issues, I have specified the device version on Fastlane. (17.5)

TODO

  • Setup Fastlane
  • Add remaining scheme(s).
  • Configure Github Actions to run lane.
  • Investigate Snapshot Image difference. See Commit

- This allows us to get more consistent results when running fastlane.
- This is not loading on the simulator causing the test to fail. I will investigate this later. It took me a while to figure this was causing the test to fail. 😭
@thomaskioko thomaskioko added the ios iOS related task/issue label Sep 15, 2024
@thomaskioko thomaskioko changed the title Configure Faslane To Run Snapshot Tests [WIP] Configure Faslane To Run Snapshot Tests Sep 15, 2024
Reorder jobs

Update fastlane jobs

Add lane to clear derived data.

Remove working dir

Revert change

Add job to speficy xcode version.

Set directory in defaults block

Add logs.

Format run job and comment out clear derived data.

Clean jobs

Specify directory

Speficy directory

Add job to list schemes.
Remove directory

Set working

Remove job to remove derived data.

More cleanup: Log exceptions.

Add more logs.
Cleanup jobs

Bump up artifact version.

Update bundle

Remove gradle job
@thomaskioko thomaskioko marked this pull request as ready for review September 22, 2024 09:35
@thomaskioko thomaskioko changed the title [WIP] Configure Faslane To Run Snapshot Tests Configure Faslane To Run Snapshot Tests Sep 22, 2024
@thomaskioko thomaskioko merged commit d7ca7f1 into main Sep 22, 2024
9 checks passed
@thomaskioko thomaskioko deleted the ios-fastlane-configuration branch September 22, 2024 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ios iOS related task/issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant