| Index: chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestIncompleteContactDetailsAndFreeShippingTest.java
|
| diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestIncompleteContactDetailsAndFreeShippingTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestIncompleteContactDetailsAndFreeShippingTest.java
|
| index b35d82a8a23f479e6e0944881fbff37848694b1e..2171cc5bc46ea4156875dd365d4a70c24a386745 100644
|
| --- a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestIncompleteContactDetailsAndFreeShippingTest.java
|
| +++ b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestIncompleteContactDetailsAndFreeShippingTest.java
|
| @@ -54,8 +54,9 @@ public class PaymentRequestIncompleteContactDetailsAndFreeShippingTest
|
| assertTrue(getShippingAddressSuggestionLabel(0).contains("Phone number required"));
|
| clickInShippingAddressAndWait(R.id.payments_first_radio_button, mReadyToEdit);
|
| setTextInEditorAndWait(new String[] {"Jon Doe", "Google", "340 Main St", "Los Angeles",
|
| - "CA", "90291", "555-555-5555"},
|
| + "90291", "555-555-5555"},
|
| mEditorTextUpdate);
|
| +
|
| // The contact is now complete, but not selected.
|
| clickInEditorAndWait(R.id.payments_edit_done_button, mReadyForInput);
|
| // We select it.
|
| @@ -83,8 +84,9 @@ public class PaymentRequestIncompleteContactDetailsAndFreeShippingTest
|
| // Add a new Shipping Address and see that the contact section updates.
|
| clickInShippingAddressAndWait(R.id.payments_add_option_button, mReadyToEdit);
|
| setTextInEditorAndWait(new String[] {"Jane Doe", "Edge Corp.", "111 Wall St.", "New York",
|
| - "NY", "10110", "555-212-2222"},
|
| + "10110", "555-212-2222"},
|
| mEditorTextUpdate);
|
| + setSpinnerSelectionsInEditorAndWait(new int[] {US, NY}, mEditorTextUpdate);
|
| clickInEditorAndWait(R.id.payments_edit_done_button, mReadyForInput);
|
| assertEquals("Jon Doe\njon.doe@google.com\nPhone number required",
|
| getContactDetailsSuggestionLabel(0));
|
|
|