Index: chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestIncompleteContactDetailsTest.java |
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestIncompleteContactDetailsTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestIncompleteContactDetailsTest.java |
index 5ac9f6eca77dc80cee69b9937a738dee79856526..850d402fea49188a171e95b52f7a19955e8547f5 100644 |
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestIncompleteContactDetailsTest.java |
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestIncompleteContactDetailsTest.java |
@@ -47,7 +47,7 @@ public class PaymentRequestIncompleteContactDetailsTest extends PaymentRequestTe |
triggerUIAndWait(mReadyForInput); |
clickInContactInfoAndWait(R.id.payments_section, mReadyForInput); |
clickInContactInfoAndWait(R.id.payments_first_radio_button, mReadyToEdit); |
- setTextInEditorAndWait(new String[] {"---", "jane.jones"}, mEditorTextUpdate); |
+ setTextInEditorAndWait(new String[] {"", "---", "jane.jones"}, mEditorTextUpdate); |
clickInEditorAndWait(R.id.payments_edit_done_button, mEditorValidationError); |
clickInEditorAndWait(R.id.payments_edit_cancel_button, mReadyForInput); |
clickAndWait(R.id.close_button, mDismissed); |
@@ -62,12 +62,12 @@ public class PaymentRequestIncompleteContactDetailsTest extends PaymentRequestTe |
triggerUIAndWait(mReadyForInput); |
clickInContactInfoAndWait(R.id.payments_section, mReadyForInput); |
clickInContactInfoAndWait(R.id.payments_first_radio_button, mReadyToEdit); |
- setTextInEditorAndWait(new String[] {"555-555-5555", "jon.doe@google.com"}, |
+ setTextInEditorAndWait(new String[] {"Jon Doe", "555-555-5555", "jon.doe@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); |
clickCardUnmaskButtonAndWait(DialogInterface.BUTTON_POSITIVE, mDismissed); |
- expectResultContains(new String[] {"555-555-5555", "jon.doe@google.com"}); |
+ expectResultContains(new String[] {"Jon Doe", "555-555-5555", "jon.doe@google.com"}); |
} |
} |