-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Adds Screenshot testing with Roborazzi #876
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
f4736f2
to
d38169d
Compare
...rc/testDemo/java/com/google/samples/apps/nowinandroid/ui/NiaAppScreenSizesScreenshotTests.kt
Outdated
Show resolved
Hide resolved
...ing/src/main/java/com/google/samples/apps/nowinandroid/core/testing/util/ScreenshotHelper.kt
Show resolved
Hide resolved
...ing/src/main/java/com/google/samples/apps/nowinandroid/core/testing/util/ScreenshotHelper.kt
Outdated
Show resolved
Hide resolved
Hi @JoseAlcerreca, awesome work! |
FWIW, Windows devs won't be able to run the whole test suite (at the moment) because of: |
...rc/testDemo/java/com/google/samples/apps/nowinandroid/ui/NiaAppScreenSizesScreenshotTests.kt
Outdated
Show resolved
Hide resolved
Roborazzi uses Robolectric Native Graphics which is a supported API. Currently, paparazzi uses LayoutLib in an unsupported way.
We're not changing unit tests or the test strategy with this change.
It doesn't access the framework but it uses RNG. |
Yeah, known issue. Running |
Currently blocked by #909 |
- Adds Roborazzi to convention plugins - Adds Screenshot helper in :core-testing - Creates screenshot suites for :app and :feature-foryou Change-Id: Idcdbbe6258f4bf2ad7d5ebefe208adeb2d3341f2
Change-Id: I81cb9c4c66d118c73be6dc8378b6afec5c83d43a
…ts prettier Change-Id: I21c1fbf174d8af06adf0676e81076ceefa02eb0e
Change-Id: I371552c35a7159bcd4220711791bb6adad138937
Change-Id: I7c50f4530b24779fea0805704ea4db3d91b431d5
Change-Id: Iaa5d3facff03e90c7741aa7ede706ea1bf7ea615
Change-Id: I29f390595dde5510e4f50cc2a834ff9338d2a7f2
Change-Id: I579da1585f449610bab172b53888c45b561e3a12
Change-Id: I2a9e3cef61ce456cce778c9c2b9b579fc766988c
Change-Id: I59deed76b75fee4c2d57ddbb6c058df9d5632bbf
Change-Id: Id48e012fbd2034ce0834db3a4633830f65bc8533
Change-Id: Ic3a1e2f11c4adeaa3c22d71a2f7659f1ef25ac56
Change-Id: I1c41bed35e27d09742cde1dcd3dfc5f9e3ac60e7
Change-Id: I6b8add80b3935cb61960b291dc73d1503397b55a
Change-Id: Ib3e6fa1ff57fb4ba2b187c039a48e1168e235d29
Co-authored-by: Simon Marquis <contact@simon-marquis.fr>
Change-Id: I75fa32871e0123ed4ce1c2232d1d9e01f31983a7
Change-Id: I2ee5db788ec1cf17ce14b70a4959a3a5567db1af
This reverts commit 1f15780.
Change-Id: I94f81c39d016dd405fcbc6f3ab447f81f1bc9db7
ea01e23
to
baf4623
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change-Id: I7f068329b8a8aac72c56a523efc9ef61694cc7f6
Good catch @mmoczkowski, forced UTC timezone in screenshot tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Change-Id: I083a9e8e6f720dd408a80ed12ac5ed76f1d57617
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! 🖼️
No description provided.