Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 575a6ef5 authored by fbaron's avatar fbaron
Browse files

Add logs for widget picker image test

The screenshot test is failing in udc-qpr because the search bar is smaller when the screenshot is taken than what the reference image is. Adding logs to figure out what might be causing the search bar to be differently sized in udc-qpr tests (in main WidgetPickerImageTest passes, as well as udc-qpr locally)

Bug: b/294050472
Test: atest WidgetPickerImageTest
Flag: no flag
Change-Id: Ib94773bc411ff97d373af490ca920f6d6ae6cb2d
parent b043c7ce
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -888,6 +888,18 @@ public class WidgetsFullSheet extends BaseWidgetSheet
        return mContent;
    }

    /** Gets the search bar, which is used for testing */ // b/294050472
    @VisibleForTesting
    public View getSearchBar() {
        return (View) mSearchBar;
    }

    /** Gets the search bar container, which is used for testing */ // b/294050472
    @VisibleForTesting
    public View getSearchBarContainer() {
        return (View) mSearchBarContainer;
    }

    /** Opens the first header in widget picker and scrolls to the top of the RecyclerView. */
    @VisibleForTesting
    public void openFirstHeader() {