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

Commit 0525d8ce authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix RenameDocumentUiTest#testRenameFile_OkButton" into main

parents 8f625d37 dfc30280
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -284,7 +284,8 @@ public class UiBot extends Bots.BaseBot {
        // Espresso has flaky results when keyboard shows up, so hiding it for now
        // before trying to click on any dialog button
        Espresso.closeSoftKeyboard();
        onView(withId(android.R.id.button1)).perform(click());
        UiObject2 okButton = mDevice.findObject(By.res("android:id/button1"));
        okButton.click();
    }

    public void clickDialogCancelButton() throws UiObjectNotFoundException {