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 fab7a5848d6d1bcd19d6aab9e94d9a499f541ac9..1bb6b9b6a8d312c6e5966fddd358695dfa3ad73f 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 |
@@ -56,8 +56,8 @@ public class PaymentRequestPhoneTest extends PaymentRequestTestBase { |
public void testAddInvalidPhoneAndCancel() |
throws InterruptedException, ExecutionException, TimeoutException { |
triggerUIAndWait(mReadyToPay); |
- clickInContactInfoAndWait(R.id.payments_section, mReadyForInput); |
- clickInContactInfoAndWait(R.id.payments_add_option_button, mReadyToEdit); |
+ clickInPayerInfoAndWait(R.id.payments_section, mReadyForInput); |
+ clickInPayerInfoAndWait(R.id.payments_add_option_button, mReadyToEdit); |
setTextInEditorAndWait(new String[] {"+++"}, mEditorTextUpdate); |
clickInEditorAndWait(R.id.payments_edit_done_button, mEditorValidationError); |
clickInEditorAndWait(R.id.payments_edit_cancel_button, mReadyForInput); |
@@ -71,8 +71,8 @@ public class PaymentRequestPhoneTest extends PaymentRequestTestBase { |
public void testAddPhoneAndPay() |
throws InterruptedException, ExecutionException, TimeoutException { |
triggerUIAndWait(mReadyToPay); |
- clickInContactInfoAndWait(R.id.payments_section, mReadyForInput); |
- clickInContactInfoAndWait(R.id.payments_add_option_button, mReadyToEdit); |
+ clickInPayerInfoAndWait(R.id.payments_section, mReadyForInput); |
+ clickInPayerInfoAndWait(R.id.payments_add_option_button, mReadyToEdit); |
setTextInEditorAndWait(new String[] {"999-999-9999"}, mEditorTextUpdate); |
clickInEditorAndWait(R.id.payments_edit_done_button, mReadyToPay); |
clickAndWait(R.id.button_primary, mReadyForUnmaskInput); |