Skip to content

Commit 80414f9

Browse files
oprisnikfacebook-github-bot
authored andcommitted
Remove DraweeViewHasImageMatcher and disabled test for Showcase sample app
Reviewed By: kartavya-ramnani Differential Revision: D64180714 fbshipit-source-id: 9213fa36052a8caec6f90355c38795502e167dcc
1 parent 766a877 commit 80414f9

File tree

2 files changed

+0
-40
lines changed

2 files changed

+0
-40
lines changed

samples/showcase/src/androidTest/java/com/facebook/fresco/samples/showcase/DraweeViewHasImageMatcher.java

Lines changed: 0 additions & 30 deletions
This file was deleted.

samples/showcase/src/androidTest/java/com/facebook/fresco/samples/showcase/ShowcaseRunTest.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
import static androidx.test.espresso.matcher.ViewMatchers.withId;
1717
import static androidx.test.espresso.matcher.ViewMatchers.withParent;
1818
import static androidx.test.espresso.matcher.ViewMatchers.withText;
19-
import static com.facebook.fresco.samples.showcase.DraweeViewHasImageMatcher.hasImage;
2019
import static org.hamcrest.CoreMatchers.allOf;
2120

2221
import android.view.View;
@@ -28,7 +27,6 @@
2827
import androidx.test.runner.AndroidJUnit4;
2928
import com.google.android.material.internal.NavigationMenuItemView;
3029
import org.hamcrest.Matcher;
31-
import org.junit.Ignore;
3230
import org.junit.Rule;
3331
import org.junit.Test;
3432
import org.junit.runner.RunWith;
@@ -49,14 +47,6 @@ public void testRunTheShowcaseApp() {
4947
.check(matches(withText(R.string.welcome_title)));
5048
}
5149

52-
@Test
53-
@Ignore /* TODO T34443404, Circle CI instrumentation test fails due to network issue */
54-
public void testShowImage() {
55-
openScreenFromMenu(R.string.drawee_simple_title);
56-
onView(withId(R.id.drawee_view)).perform(waitFor(5000));
57-
onView(withId(R.id.drawee_view)).check(matches(hasImage()));
58-
}
59-
6050
private void openScreenFromMenu(int title) {
6151
onView(withContentDescription(R.string.navigation_drawer_open)).perform(click());
6252
onView(allOf(withParent(isAssignableFrom(NavigationMenuItemView.class)), withText(title)))

0 commit comments

Comments
 (0)