File tree 1 file changed +5
-0
lines changed
app/src/androidTest/java/com/futsch1/medtimer
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 1
1
package com .futsch1 .medtimer ;
2
2
3
3
4
+ import static android .Manifest .permission .POST_NOTIFICATIONS ;
4
5
import static androidx .test .espresso .Espresso .pressBack ;
5
6
import static com .adevinta .android .barista .assertion .BaristaCheckedAssertions .assertChecked ;
6
7
import static com .adevinta .android .barista .assertion .BaristaCheckedAssertions .assertUnchecked ;
16
17
import androidx .test .uiautomator .UiScrollable ;
17
18
import androidx .test .uiautomator .UiSelector ;
18
19
20
+ import com .adevinta .android .barista .interaction .PermissionGranter ;
21
+
19
22
import org .junit .Test ;
20
23
21
24
import java .time .LocalTime ;
@@ -117,6 +120,8 @@ public void appIntro() {
117
120
118
121
clickOn (com .github .appintro .R .id .next );
119
122
123
+ PermissionGranter .allowPermissionsIfNeeded (POST_NOTIFICATIONS );
124
+
120
125
assertDisplayed (R .string .tab_medicine );
121
126
assertDisplayed (R .string .intro_medicine_description );
122
127
You can’t perform that action at this time.
0 commit comments