| Index: chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestDynamicShippingSingleAddressTest.java
|
| diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestDynamicShippingSingleAddressTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestDynamicShippingSingleAddressTest.java
|
| index 260de51b210ca0e1f77dcd3525d6dadaab8321a9..750b9401be8b455512e3d34b6795639e4ec42ac0 100644
|
| --- a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestDynamicShippingSingleAddressTest.java
|
| +++ b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestDynamicShippingSingleAddressTest.java
|
| @@ -20,6 +20,7 @@ import java.util.concurrent.TimeoutException;
|
| */
|
| public class PaymentRequestDynamicShippingSingleAddressTest extends PaymentRequestTestBase {
|
| public PaymentRequestDynamicShippingSingleAddressTest() {
|
| + // This merchant requests the shipping address first before providing any shipping options.
|
| super("payment_request_dynamic_shipping_test.html");
|
| }
|
|
|
| @@ -27,12 +28,14 @@ public class PaymentRequestDynamicShippingSingleAddressTest extends PaymentReque
|
| public void onMainActivityStarted()
|
| throws InterruptedException, ExecutionException, TimeoutException {
|
| AutofillTestHelper helper = new AutofillTestHelper();
|
| + // The user has a shipping address on disk.
|
| helper.setProfile(new AutofillProfile("", "https://example.com", true, "Jon Doe", "Google",
|
| "340 Main St", "CA", "Los Angeles", "", "90291", "", "US", "", "", "en-US"));
|
| helper.setCreditCard(new CreditCard("", "https://example.com", true, true, "Jon Doe",
|
| "4111111111111111", "1111", "12", "2050", "visa", R.drawable.pr_visa));
|
| }
|
|
|
| + /** The shipping address should not be selected in UI by default. */
|
| @MediumTest
|
| public void testAddressNotSelected()
|
| throws InterruptedException, ExecutionException, TimeoutException {
|
|
|