Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4763)

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestFreeShippingTest.java

Issue 2952673002: [Payments] Format and validate phone number according to selected country in address editor (Closed)
Patch Set: Fix tests Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 f1d38c1d9bcce26c128a62f42ec8d549c07c73b8..f9f9d8c26932a358b2ad28915ab88d59cb3a1fd9 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
@@ -135,7 +135,7 @@ public class PaymentRequestFreeShippingTest implements MainActivityStartCallback
0 /* Afghanistan */, mPaymentRequestTestRule.getReadyToEdit());
mPaymentRequestTestRule.setTextInEditorAndWait(
new String[] {
- "Alice", "Supreme Court", "Airport Road", "Kabul", "1043", "650-253-0000"},
+ "Alice", "Supreme Court", "Airport Road", "Kabul", "1043", "020-253-0000"},
mPaymentRequestTestRule.getEditorTextUpdate());
mPaymentRequestTestRule.clickInEditorAndWait(
R.id.payments_edit_done_button, mPaymentRequestTestRule.getReadyToPay());
@@ -146,7 +146,7 @@ public class PaymentRequestFreeShippingTest implements MainActivityStartCallback
mPaymentRequestTestRule.clickCardUnmaskButtonAndWait(
DialogInterface.BUTTON_POSITIVE, mPaymentRequestTestRule.getDismissed());
mPaymentRequestTestRule.expectResultContains(new String[] {
- "Alice", "Supreme Court", "Airport Road", "Kabul", "1043", "+16502530000"});
+ "Alice", "Supreme Court", "Airport Road", "Kabul", "1043", "+93202530000"});
}
/** Quickly pressing on "add address" and then [X] should not crash. */

Powered by Google App Engine
This is Rietveld 408576698