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

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

Issue 2680143002: Use dropdown list for admin areas in pr form. (Closed)
Patch Set: Touch ups Created 3 years, 10 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/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));

Powered by Google App Engine
This is Rietveld 408576698