| Index: chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestFreeShippingTest.java
|
| diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestFreeShippingTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestFreeShippingTest.java
|
| index 1f12a41ef97390ed32df729b07a85991cddebecd..626282a75755f705d467754466c3fd0cb73bb0c4 100644
|
| --- a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestFreeShippingTest.java
|
| +++ b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestFreeShippingTest.java
|
| @@ -35,7 +35,7 @@ public class PaymentRequestFreeShippingTest extends PaymentRequestTestBase {
|
| // The user has a shipping address on disk.
|
| String billingAddressId = helper.setProfile(new AutofillProfile("", "https://example.com",
|
| true, "Jon Doe", "Google", "340 Main St", "CA", "Los Angeles", "", "90291", "",
|
| - "US", "555-555-5555", "", "en-US"));
|
| + "US", "650-253-0000", "", "en-US"));
|
| helper.setCreditCard(new CreditCard("", "https://example.com", true, true, "Jon Doe",
|
| "4111111111111111", "1111", "12", "2050", "visa", R.drawable.pr_visa,
|
| billingAddressId, "" /* serverId */));
|
| @@ -78,13 +78,13 @@ public class PaymentRequestFreeShippingTest extends PaymentRequestTestBase {
|
| clickInShippingSummaryAndWait(R.id.payments_section, mReadyForInput);
|
| clickInShippingAddressAndWait(R.id.payments_add_option_button, mReadyToEdit);
|
| setTextInEditorAndWait(new String[] {"Bob", "Google", "1600 Amphitheatre Pkwy",
|
| - "Mountain View", "CA", "94043", "999-999-9999"}, mEditorTextUpdate);
|
| + "Mountain View", "CA", "94043", "650-253-0000"}, 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[] {"Bob", "Google", "1600 Amphitheatre Pkwy",
|
| - "Mountain View", "CA", "94043", "999-999-9999"});
|
| + "Mountain View", "CA", "94043", "+1 650-253-0000"});
|
| }
|
|
|
| /** Change the country in the spinner, add a valid address, and complete the transaction. */
|
| @@ -97,13 +97,13 @@ public class PaymentRequestFreeShippingTest extends PaymentRequestTestBase {
|
| clickInShippingAddressAndWait(R.id.payments_add_option_button, mReadyToEdit);
|
| setSpinnerSelectionInEditorAndWait(0 /* Afghanistan */, mReadyToEdit);
|
| setTextInEditorAndWait(new String[] {"Alice", "Supreme Court", "Airport Road", "Kabul",
|
| - "1043", "999-999-9999"}, mEditorTextUpdate);
|
| + "1043", "650-253-0000"}, 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[] {"Alice", "Supreme Court", "Airport Road", "Kabul",
|
| - "1043", "999-999-9999"});
|
| + expectResultContains(new String[] {
|
| + "Alice", "Supreme Court", "Airport Road", "Kabul", "1043", "+1 650-253-0000"});
|
| }
|
|
|
| /** Quickly pressing on "add address" and then [X] should not crash. */
|
|
|