File tree 1 file changed +6
-2
lines changed
presentation/src/androidTest/java/com/jorge/boats/xkcd/view/activity
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,8 @@ public StripeActivityTest() {
59
59
}
60
60
61
61
public void testPrevious () {
62
- final ViewInteraction titleInteraction = onView (withId (R .id .toolbar_title ));
62
+ final ViewInteraction titleInteraction = onView (withId (R .id .title )), descriptionInteraction =
63
+ onView (withId (R .id .description ));
63
64
64
65
waitForLoad ();
65
66
@@ -71,6 +72,7 @@ public void testPrevious() {
71
72
72
73
titleInteraction .check (matches (CustomViewMatchers .withText (equalTo (
73
74
getInstrumentation ().getTargetContext ().getString (R .string .stub_previous_stripe_title )))));
75
+ //TODO Check description interaction
74
76
75
77
onView (withId (R .id .retry )).check (matches (not ((isDisplayed ()))));
76
78
}
@@ -96,7 +98,8 @@ public void testShare() {
96
98
}
97
99
98
100
public void testNext () {
99
- final ViewInteraction titleInteraction = onView (withId (R .id .toolbar_title ));
101
+ final ViewInteraction titleInteraction = onView (withId (R .id .title )), descriptionInteraction =
102
+ onView (withId (R .id .description ));
100
103
101
104
waitForLoad ();
102
105
@@ -108,6 +111,7 @@ public void testNext() {
108
111
109
112
titleInteraction .check (matches (CustomViewMatchers .withText (equalTo (
110
113
getInstrumentation ().getTargetContext ().getString (R .string .stub_next_stripe_title )))));
114
+ //TODO Check description interaction
111
115
112
116
onView (withId (R .id .retry )).check (matches (not ((isDisplayed ()))));
113
117
}
You can’t perform that action at this time.
0 commit comments