Index: chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestPhoneTest.java |
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestPhoneTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestPhoneTest.java |
index 7f8c8f89b50060c2f523114b7d32409beca10d95..f357248579632e533930232b613ac2fb01d71fd5 100644 |
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestPhoneTest.java |
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestPhoneTest.java |
@@ -54,7 +54,7 @@ public class PaymentRequestPhoneTest 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(new String[] {"+++"}, mEditorTextUpdate); |
clickInEditorAndWait(R.id.payments_edit_done_button, mEditorValidationError); |
clickInEditorAndWait(R.id.payments_edit_cancel_button, mEditorDismissed); |
clickAndWait(R.id.close_button, mDismissed); |
@@ -68,7 +68,7 @@ public class PaymentRequestPhoneTest 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(new String[] {"999-999-9999"}, mEditorTextUpdate); |
clickInEditorAndWait(R.id.payments_edit_done_button, mReadyToPay); |
clickAndWait(R.id.button_primary, mReadyForUnmaskInput); |
setTextInCardUnmaskDialogAndWait(R.id.card_unmask_input, "123", mReadyToUnmask); |