From f6668454daaa0b5b559723b3bb685c244456247b Mon Sep 17 00:00:00 2001 From: Lena Date: Wed, 1 Jul 2026 00:00:00 +0000 Subject: 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. --- README | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'README') diff --git a/README b/README index b6618cf..11de229 100644 --- a/README +++ b/README @@ -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. -- cgit v1.2.3