Skip to content

Commit 6d26beb

Browse files
committed
update click element on image library
1 parent 2885159 commit 6d26beb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

WordPress/src/androidTest/java/org/wordpress/android/e2e/pages/BlockEditorPage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public BlockEditorPage addImage() {
142142
clickOn("WordPress Media Library");
143143
waitForElementToBeDisplayed(onView(withText("WordPress media")));
144144
waitForElementToBeDisplayed(onView(withIndex(withId(R.id.image_thumbnail), 0)));
145-
onView(withIndex(withId(R.id.image_thumbnail), 0)).perform(click());
145+
onView(withIndex(withId(R.id.text_selection_count), 0)).perform(click());
146146
clickOn(R.id.mnu_confirm_selection);
147147
return this;
148148
}

0 commit comments

Comments
 (0)