Index: chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestEmailTest.java |
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestEmailTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestEmailTest.java |
index 25ab92696bccfffc3dee6d9dc3e6ff2de11dea36..b34058ee596bfe51732b40d062b1eb7dab28a40a 100644 |
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestEmailTest.java |
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestEmailTest.java |
@@ -54,7 +54,7 @@ public class PaymentRequestEmailTest extends PaymentRequestTestBase { |
triggerUIAndWait(mReadyToPay); |
clickInContactInfoAndWait(R.id.payments_section, mReadyForInput); |
clickInContactInfoAndWait(R.id.payments_add_option_button, mReadyToEdit); |
- 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); |
@@ -68,8 +68,7 @@ public class PaymentRequestEmailTest extends PaymentRequestTestBase { |
triggerUIAndWait(mReadyToPay); |
clickInContactInfoAndWait(R.id.payments_section, mReadyForInput); |
clickInContactInfoAndWait(R.id.payments_add_option_button, mReadyToEdit); |
- setTextInEditorAndWait(R.id.payments_edit_email_input, "jane.jones@google.com", |
- mEditorTextUpdate); |
+ setTextInEditorAndWait(new String[] {"jane.jones@google.com"}, mEditorTextUpdate); |
clickInEditorAndWait(R.id.payments_edit_done_button, mReadyToPay); |
clickAndWait(R.id.button_primary, mReadyForUnmaskInput); |
setTextInCardUnmaskDialogAndWait(R.id.card_unmask_input, "123", mReadyToUnmask); |