Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestNoShippingTest.java

Issue 2287513002: [Payments] Show name and address when selecting a CC billing address. (Closed)
Patch Set: Fixed error Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestNoShippingTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestNoShippingTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestNoShippingTest.java
index 34184cd31279ee2488bb1cdd668bd18d3c504151..dc75756f8661a2358b01a9f6af8b841cce3d8580 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestNoShippingTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestNoShippingTest.java
@@ -370,4 +370,13 @@ public class PaymentRequestNoShippingTest extends PaymentRequestTestBase {
"PaymentRequest.RequestedInformation", i));
}
}
+
+ /** Verifies the format of the billing address suggestions when adding a new credit card. */
+ @MediumTest
+ public void testNewCardBillingAddressFormat()
+ throws InterruptedException, ExecutionException, TimeoutException {
+ fillNewCardForm("5454-5454-5454-5454", "Bob", DECEMBER, NEXT_YEAR, FIRST_BILLING_ADDRESS);
+ assertTrue(getSpinnerSelectionTextInCardEditor(2).equals(
+ "Jon Doe, Google, 340 Main St, Los Angeles, CA 90291, United States"));
+ }
}

Powered by Google App Engine
This is Rietveld 408576698