Created
November 12, 2020 15:58
-
-
Save mzorz/abd7043e817561769af86f79faf60a31 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/WordPress/src/androidTest/java/org/wordpress/android/e2e/pages/EditorPage.java b/WordPress/src/androidTest/java/org/wordpress/android/e2e/pages/EditorPage.java | |
index 3a6657b9ea..7f6adce75e 100644 | |
--- a/WordPress/src/androidTest/java/org/wordpress/android/e2e/pages/EditorPage.java | |
+++ b/WordPress/src/androidTest/java/org/wordpress/android/e2e/pages/EditorPage.java | |
@@ -73,7 +73,7 @@ public class EditorPage { | |
waitForElementToBeDisplayed(onView(withText("WordPress media"))); | |
// wait for images to load before clicking | |
idleFor(2000); | |
- onView(withIndex(withId(R.id.media_grid_item_image), 0)).perform(click()); | |
+ onView(withIndex(withId(R.id.image_thumbnail), 0)).perform(click()); | |
// Click the confirm button | |
clickOn(confirmButton); | |
@@ -107,7 +107,7 @@ public class EditorPage { | |
public void setFeaturedImage() { | |
clickOn(onView(withId(R.id.post_add_featured_image_button))); | |
clickOn(onView(withId(R.id.icon_wpmedia))); | |
- onView(withIndex(withId(R.id.media_grid_item_image), 0)).perform(click()); | |
+ onView(withIndex(withId(R.id.image_thumbnail), 0)).perform(click()); | |
} | |
public boolean publishPost() { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment