diff options
| author | Lena <lena@omega> | 2026-07-01 00:00:00 +0000 |
|---|---|---|
| committer | Lena <lena@omega> | 2026-07-01 00:00:00 +0000 |
| commit | f6668454daaa0b5b559723b3bb685c244456247b (patch) | |
| tree | 174280a1542fa4d1f5c9427b00f853458ca32022 /README | |
| parent | 30ee8be82e44d1a8250d1f6e27e71f7d5f24aec5 (diff) | |
| download | scrcpy-android-f6668454daaa0b5b559723b3bb685c244456247b.tar.gz | |
test: add a screenshot capture tier
The store screenshots were made by hand, so nothing kept them in step
with the UI. Add ./test screenshots, which boots a pixel_6 AVD on the
same image the e2e tier uses and overwrites the tracked PNGs.
The AVD is its own so a capture run cannot disturb the device state e2e
asserts against, and the panel comes from the device profile: forcing
geometry with wm size on a booted software-GPU emulator ANRs SystemUI
and the ANR dialog lands in the capture. SystemUI demo mode does the
same, so the status bar is left live. Each shot is rejected unless the
app owns the focused window and the PNG has the expected geometry.
Diffstat (limited to 'README')
| -rw-r--r-- | README | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -82,6 +82,15 @@ use and cached. # taps/keys, and stitches a screen recording into # ./output.mp4. Needs /dev/kvm. + ./test screenshots + # Boots a pixel_6 AVD (natively 1080x2400), captures + # Main and Settings, and overwrites the tracked PNGs + # under fastlane/metadata/android/en-US/images/ + # phoneScreenshots. Refuses to write a shot unless the + # app owns the focused window and the PNG has the + # expected geometry. Review the diff before + # committing. Needs /dev/kvm. + ./test apk # Smoke build: generates a throwaway PKCS12 keystore # under .tools/, runs scripts/build-apk against it, # verifies the resulting APK is signed. No KVM. |