Run recordDebug in CI and upload baselines as artifacts#57
Open
EmilioBejasa wants to merge 7 commits intomainfrom
Open
Run recordDebug in CI and upload baselines as artifacts#57EmilioBejasa wants to merge 7 commits intomainfrom
EmilioBejasa wants to merge 7 commits intomainfrom
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Use the local recordAndVerifyDebug task instead of the Screenshotbot cloud task. Also un-ignore android/app/screenshots/*.png so baselines can be committed and compared against. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This is an exploratory step to see if recordDebug can successfully capture screenshots on the emulator. If it works, we download the artifacts, commit them, and switch back to recordAndVerifyDebug. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
recordDebugcan successfully capture screenshots on the emulatorandroid/app/screenshots/as a GitHub Actions artifact (screenshot-baselines)Why
Before switching to
recordAndVerifyDebug, we need committed baseline images. This branch lets us see if the recording step works in CI. If it does, we download the artifact, commit the PNGs onto the parent branch, and switch back torecordAndVerifyDebug.Test plan
recordDebugsuccessfullyscreenshot-baselinesartifact appears in the Actions run with the expected PNG files🤖 Generated with Claude Code