File tree Expand file tree Collapse file tree
Demo/src/androidTest/java/com/braintreepayments/popupbridge/demo/test Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# PopupBridge Android Release Notes
22
3+ ## unreleased
4+
5+ * Bump ` browser-switch ` to 3.5.1
6+ * Upgrade ` compileSdkVersion ` to API 36
7+
38## 5.1.0
49
510* Fix an issue where the WebViewClient is being silently overridden. [ #95 ] ( https://github.com/braintree/popup-bridge-android/issues/95 )
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ public void opensPopup_whenClickingDontLikeAnyOfTheseColors_returnsCanceledSelec
4747 onViewWithText ("Launch Popup" ).perform (click ());
4848 onViewWithText ("I don't like any of these colors" )
4949 .waitForExists (BROWSER_TIMEOUT ).perform (click ());
50- assertTrue (onDevice (withText ("You did not like any of our colors" )).exists ());
50+ assertTrue (onDevice (withText ("You did not like any of our colors" )).waitForExists ( BROWSER_TIMEOUT ). exists ());
5151 }
5252
5353 @ Test (timeout = 50000 )
@@ -56,7 +56,7 @@ public void opensPopup_whenClickingBack_returnsCanceledSelection() {
5656 onViewWithText ("I don't like any of these colors" )
5757 .waitForExists (BROWSER_TIMEOUT );
5858 onDevice ().pressBack ();
59- assertTrue (onDevice (withText ("You did not choose a color" )).exists ());
59+ assertTrue (onDevice (withText ("You did not choose a color" )).waitForExists ( BROWSER_TIMEOUT ). exists ());
6060 }
6161
6262 private void testColor (String color ) {
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ version = '5.1.1-SNAPSHOT'
2525group = " com.braintreepayments"
2626
2727ext {
28- compileSdkVersion = 35
28+ compileSdkVersion = 36
2929 minSdkVersion = 23
3030 targetSdkVersion = 35
3131 versionCode = 18
Original file line number Diff line number Diff line change 11[versions ]
22# Demo App
33appcompatVersion = " 1.7.0"
4- browserSwitchVersion = " 3.0.0 "
4+ browserSwitchVersion = " 3.5.1 "
55coreVersion = " 1.6.1"
66datastorePreferencesVersion = " 1.1.4"
77detekt = " 1.23.6"
88deviceAutomatorVersion = " 1.0.0"
9- gradleVersion = " 8.9.0 "
9+ gradleVersion = " 8.9.1 "
1010junitVersion = " 4.13.2"
1111kotlinAndroidVersion = " 2.1.10"
1212kotlinxCoroutinesTestVersion = " 1.10.2"
You can’t perform that action at this time.
0 commit comments