tests/screenshot/src/com/android/settings/tests/screenshot/README.md
Background info about tests
- This test is ran in postsubmits at andoid-settings/robo_tests.gcl
- It is important that this module stays somewhat small, if the test size grows too large, it will be likely that this suite breaks due to flakiness(which tends to happen with screenshot tests). In this case investigate splitting the module.
Running and updating screenshots.
- For FingerprintEnrollIntroScreenshotTest.kt#testEnrollIntro
- atest SettingsScreenshotRNGTests
- There should be a file like com.android.settings.tests.screenshot.biometrics.fingerprint.fragment.FingerprintEnrollIntroScreenshotTest_testEnrollIntro_actual_robolectric_fp_enroll_intro.png_6245562387930305138.png
- Place this screenshot in packages/apps/Settings/tests/screenshot/assets/robolectric/fp_enroll_intro.png