The UI Catalogue takes screenshots during instrumentation tests that was created by Anthony. You can see these in a test run on your CL. 1. Add a UI Catalogue entry to some tests, eg: https://cs.chromium.org/chromium/src/chrome/android/javatests/src/org/chromium/chrome/browser/preferences/NotificationsPreferencesTest.java?q=TODO%5C(peconn%5C)&l=39&dr=C The class you want to use is https://cs.chromium.org/chromium/src/chrome/android/javatests/src/org/chromium/chrome/browser/test/ScreenShooter.java 2. Run instrumentation tests locally: https://sites.google.com/a/google.com/clank/engineering/noogler-guide/testing-combined 3. Upload the CL, run the tests there, find the generate screenshots. 4. Profit!
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/42709f9089069132508e38c423e08e058483c9b1 commit 42709f9089069132508e38c423e08e058483c9b1 Author: Anna Malova <amalova@chromium.org> Date: Mon Sep 03 18:58:55 2018 Add UI Catalogue entry for the Notifications Preferences Bug: 852794 Change-Id: I0f1cb2fd08e820f6eb389bb9e0d07f1f7bab78c8 Reviewed-on: https://chromium-review.googlesource.com/1102678 Reviewed-by: Bernhard Bauer <bauerb@chromium.org> Commit-Queue: Anna Malova <amalova@chromium.org> Cr-Commit-Position: refs/heads/master@{#588428} [modify] https://crrev.com/42709f9089069132508e38c423e08e058483c9b1/chrome/android/javatests/src/org/chromium/chrome/browser/preferences/NotificationsPreferencesTest.java
Comment 1 by bugdroid1@chromium.org
, Sep 3