Index: chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestContactDetailsTest.java |
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestContactDetailsTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestContactDetailsTest.java |
index 3009be572da70dbe85febcca84d5df84dc9b1569..8e08a0cc8ac405b0e8c059be992de0a14edadb4b 100644 |
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestContactDetailsTest.java |
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestContactDetailsTest.java |
@@ -54,8 +54,7 @@ public class PaymentRequestContactDetailsTest extends PaymentRequestTestBase { |
triggerUIAndWait(mReadyToPay); |
clickInContactInfoAndWait(R.id.payments_section, mReadyForInput); |
clickInContactInfoAndWait(R.id.payments_add_option_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, mEditorDismissed); |
clickAndWait(R.id.close_button, mDismissed); |
@@ -69,8 +68,7 @@ public class PaymentRequestContactDetailsTest extends PaymentRequestTestBase { |
triggerUIAndWait(mReadyToPay); |
clickInContactInfoAndWait(R.id.payments_section, mReadyForInput); |
clickInContactInfoAndWait(R.id.payments_add_option_button, mReadyToEdit); |
- setTextInEditorAndWait(R.id.payments_edit_phone_input, "999-999-9999", mEditorTextUpdate); |
- setTextInEditorAndWait(R.id.payments_edit_email_input, "jane.jones@google.com", |
+ setTextInEditorAndWait(new String[] {"999-999-9999", "jane.jones@google.com"}, |
mEditorTextUpdate); |
clickInEditorAndWait(R.id.payments_edit_done_button, mReadyToPay); |
clickAndWait(R.id.button_primary, mReadyForUnmaskInput); |