File tree Expand file tree Collapse file tree 3 files changed +14
-3
lines changed
example/tests/src/android/androidTest Expand file tree Collapse file tree 3 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 1
1
## Unreleased
2
2
3
+ * Bumps Instabug Android SDK to v11.4.1
3
4
* Adds TypeScript support
4
5
5
6
## v11.0.1 (2022-08-24)
Original file line number Diff line number Diff line change 3
3
import static androidx .test .espresso .Espresso .onView ;
4
4
import static androidx .test .espresso .action .ViewActions .click ;
5
5
import static androidx .test .espresso .action .ViewActions .replaceText ;
6
+ import static androidx .test .espresso .matcher .ViewMatchers .withParent ;
6
7
import static androidx .test .espresso .matcher .ViewMatchers .withResourceName ;
7
8
import static androidx .test .espresso .matcher .ViewMatchers .withText ;
8
9
10
+ import static org .hamcrest .Matchers .allOf ;
11
+
9
12
import androidx .test .ext .junit .rules .ActivityScenarioRule ;
10
13
import androidx .test .ext .junit .runners .AndroidJUnit4 ;
11
14
@@ -23,10 +26,17 @@ public class InvokeInstabugUITest {
23
26
@ Test
24
27
public void ensureInstabugInvocation () throws InterruptedException {
25
28
Thread .sleep (5000 );
26
- onView (withResourceName ("instabug_floating_button" )).perform (click ());
27
29
30
+ onView (withResourceName ("instabug_floating_button" )).perform (click ());
28
31
onView (withText ("Report a bug" )).perform (click ());
29
- onView (
withResourceName (
"instabug_edit_text_email" )).
perform (
replaceText (
"[email protected] " ));
32
+
33
+ onView (
34
+ allOf (
35
+ withResourceName ("ib_edit_text" ),
36
+ withParent (withResourceName ("instabug_edit_text_email" ))
37
+ )
38
+ ).
perform (
replaceText (
"[email protected] " ));
39
+
30
40
onView (withResourceName ("instabug_bugreporting_send" )).perform (click ());
31
41
onView (withResourceName ("instabug_success_dialog_container" )).perform (click ());
32
42
}
Original file line number Diff line number Diff line change 68
68
<uses-permission android : name =" android.permission.INTERNET" />
69
69
</config-file >
70
70
71
- <framework src =" com.instabug.library:instabug:11.2.0 " />
71
+ <framework src =" com.instabug.library:instabug:11.4.1 " />
72
72
73
73
<source-file src =" src/android/IBGPlugin.java" target-dir =" src/com/instabug/cordova/plugin" />
74
74
<source-file src =" src/android/util/Util.java" target-dir =" src/com/instabug/cordova/plugin/util" />
You can’t perform that action at this time.
0 commit comments