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")); |
+ } |
} |