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 65034de736b47cc0968f3cb4c581bbab8c55ccb7..5e53d08b0e3f9e35ad554afa2f65a3c4d4aa5440 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 |
@@ -56,8 +56,8 @@ public class PaymentRequestEmailTest extends PaymentRequestTestBase { |
public void testAddInvalidEmailAndCancel() |
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[] {"jane.jones"}, mEditorTextUpdate); |
clickInEditorAndWait(R.id.payments_edit_done_button, mEditorValidationError); |
clickInEditorAndWait(R.id.payments_edit_cancel_button, mReadyForInput); |
@@ -71,8 +71,8 @@ public class PaymentRequestEmailTest extends PaymentRequestTestBase { |
public void testAddEmailAndPay() |
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[] {"jane.jones@google.com"}, mEditorTextUpdate); |
clickInEditorAndWait(R.id.payments_edit_done_button, mReadyToPay); |
clickAndWait(R.id.button_primary, mReadyForUnmaskInput); |