Index: chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestIncompleteContactDetailsTest.java |
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestIncompleteContactDetailsTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestIncompleteContactDetailsTest.java |
index 9436e997f99304d6995fe0d45f9e23309003d61f..097c11446f85c25870e00a005e103de6a0351b32 100644 |
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestIncompleteContactDetailsTest.java |
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestIncompleteContactDetailsTest.java |
@@ -50,8 +50,7 @@ public class PaymentRequestIncompleteContactDetailsTest extends PaymentRequestTe |
triggerUIAndWait(mReadyForInput); |
clickInContactInfoAndWait(R.id.payments_section, mReadyForInput); |
clickInContactInfoAndWait(R.id.payments_first_radio_button, mReadyToEdit); |
- setTextInEditorAndWait(R.id.payments_edit_phone_input, "---", mEditorTextUpdate); |
- setTextInEditorAndWait(R.id.payments_edit_email_input, "jane.jones", mEditorTextUpdate); |
+ setTextInEditorAndWait(new String[] {"---", "jane.jones"}, mEditorTextUpdate); |
clickInEditorAndWait(R.id.payments_edit_done_button, mEditorValidationError); |
clickInEditorAndWait(R.id.payments_edit_cancel_button, mReadyToClose); |
clickAndWait(R.id.close_button, mDismissed); |
@@ -65,8 +64,7 @@ public class PaymentRequestIncompleteContactDetailsTest extends PaymentRequestTe |
triggerUIAndWait(mReadyForInput); |
clickInContactInfoAndWait(R.id.payments_section, mReadyForInput); |
clickInContactInfoAndWait(R.id.payments_first_radio_button, mReadyToEdit); |
- setTextInEditorAndWait(R.id.payments_edit_phone_input, "555-555-5555", mEditorTextUpdate); |
- setTextInEditorAndWait(R.id.payments_edit_email_input, "jon.doe@google.com", |
+ setTextInEditorAndWait(new String[] {"555-555-5555", "jon.doe@google.com"}, |
mEditorTextUpdate); |
clickInEditorAndWait(R.id.payments_edit_done_button, mReadyToPay); |
clickAndWait(R.id.button_primary, mReadyForUnmaskInput); |