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

Run paparazzi tests #5586

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Run paparazzi tests #5586

wants to merge 1 commit into from

Conversation

andremion
Copy link
Collaborator

@andremion andremion commented Jan 24, 2025

🎯 Goal

It was noticed that the Paparazzi tests were not running as part of the CI.
That's because we ran testDebugUnitTest and not verifyPaparazziDebug.
Running testDebugUnitTest executes the unit tests but does not compare the snapshots.
By running verifyPaparazziDebug, it runs the test cases also compares the snapshots.

🧪 Testing

  • Run test-debug
./gradlew test-debug
  • Check the command file which should contain stream-chat-android-compose:verifyPaparazziDebug instead of stream-chat-android-compose:testDebugUnitTest
build/tmp/unit-tests-command.sh
  • Change some Poll default UI implementation to reproduce an error

🎉 GIF

gif

Copy link
Contributor

github-actions bot commented Jan 24, 2025

SDK Size Comparison 📏

SDK Before After Difference Status
stream-chat-android-client 3.17 MB 3.17 MB 0.00 MB 🟢
stream-chat-android-offline 3.38 MB 3.38 MB 0.00 MB 🟢
stream-chat-android-ui-components 7.86 MB 7.86 MB 0.00 MB 🟢
stream-chat-android-compose 8.71 MB 8.71 MB 0.00 MB 🟢

@andremion andremion force-pushed the run-paparazzi-tests branch from 99ded5f to d53dbe7 Compare January 24, 2025 15:37
@andremion andremion marked this pull request as ready for review January 24, 2025 15:46
@andremion andremion requested a review from a team as a code owner January 24, 2025 15:46
@andremion andremion enabled auto-merge (squash) January 24, 2025 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant