Skip to content

Commit

Permalink
Update vendored PayPal wallet app
Browse files Browse the repository at this point in the history
  • Loading branch information
lkorth committed Mar 10, 2016
1 parent ad68854 commit fc131ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import org.junit.runner.RunWith;

import static com.braintreepayments.testutils.AppInstallationHelper.installPayPalWallet;
import static com.braintreepayments.testutils.AppInstallationHelper.isAppInstalled;
import static com.lukekorth.deviceautomator.AutomatorAction.click;
import static com.lukekorth.deviceautomator.DeviceAutomator.onDevice;
import static com.lukekorth.deviceautomator.UiObjectMatcher.withText;
Expand Down Expand Up @@ -48,13 +47,9 @@ public void appSwitch_forFuturePaymentWithAddressScope() {
}

@Test(timeout = 120000)
public void appSwitch_usesBrowserForBillingAgreement() {
public void appSwitch_forBillingAgreement() {
onDevice(withText("Billing Agreement")).waitForEnabled().perform(click());

if (isAppInstalled("com.android.chrome")) {
onDevice().checkForegroundAppIs("com.android.chrome");
} else {
onDevice().checkForegroundAppIs("com.android.browser");
}
onDevice().checkForegroundAppIs("com.paypal.android.p2pmobile");
}
}
Binary file modified vendor/com.paypal.android.p2pmobile.apk
Binary file not shown.

0 comments on commit fc131ce

Please sign in to comment.