mirror of
https://github.com/narrrl/proton-stream.git
synced 2026-11-04 00:47:00 +01:00
test(android): screenshot tests for every screen
Roborazzi draws Library (phone, tablet, font scale 1.5, empty), a title, Shares, Settings and Downloads from fixed records under Robolectric, and build-android.sh check compares them with the committed images in app/src/test/screenshots. The redesign changes every screen; a layout regression now fails the gate and shows up in review as a changed image.
This commit is contained in:
1 parent
f2e69dc852
commit
c63f08ac91
14 files changed
+216
-5
No files matched your search
+1
-1
@@ -46,7 +46,7 @@ Before submitting Android work, run the Rust workspace gate from the repository
|
||||
root, then:
|
||||
|
||||
```bash
|
||||
bash scripts/build-android.sh check # ktlint, Android lint, host tests
|
||||
bash scripts/build-android.sh check # ktlint, Android lint, host and screenshot tests
|
||||
bash scripts/android-acceptance.sh --release # the on-device matrix, minified APK
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user