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

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

Issue 2368073002: PaymentRequest: Add payer name field to payer info editor. (android) (Closed)
Patch Set: PaymentRequest: Add payer name field to payer info editor. (android) Created 4 years, 2 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/PaymentRequestContactDetailsAndFreeShippingTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestContactDetailsAndFreeShippingTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestContactDetailsAndFreeShippingTest.java
index 78cd4172d72a216310d68cf0692d249257527b52..6e05b1f1b3e11f077371e2784f18a493285ef33f 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestContactDetailsAndFreeShippingTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestContactDetailsAndFreeShippingTest.java
@@ -18,8 +18,8 @@ import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeoutException;
/**
- * A payment integration test for a merchant that requests an email address and a phone number and
- * provides free shipping regardless of address.
+ * A payment integration test for a merchant that requests a payer name, an email address and
+ * a phone number and provides free shipping regardless of address.
*/
public class PaymentRequestContactDetailsAndFreeShippingTest extends PaymentRequestTestBase {
public PaymentRequestContactDetailsAndFreeShippingTest() {
@@ -43,8 +43,8 @@ public class PaymentRequestContactDetailsAndFreeShippingTest extends PaymentRequ
}
/**
- * Submit the email address, phone number and shipping address to the merchant when the user
- * clicks "Pay."
+ * Submit the payer name, email address, phone number and shipping address to the merchant when
+ * the user clicks "Pay."
*/
@MediumTest
@Feature({"Payments"})
@@ -53,9 +53,9 @@ public class PaymentRequestContactDetailsAndFreeShippingTest extends PaymentRequ
clickAndWait(R.id.button_primary, mReadyForUnmaskInput);
setTextInCardUnmaskDialogAndWait(R.id.card_unmask_input, "123", mReadyToUnmask);
clickCardUnmaskButtonAndWait(DialogInterface.BUTTON_POSITIVE, mDismissed);
- expectResultContains(new String[] {"jon.doe@google.com", "555-555-5555", "Jon Doe",
- "4111111111111111", "12", "2050", "visa", "123", "Google", "340 Main St", "CA",
- "Los Angeles", "90291", "US", "en", "freeShippingOption"});
+ expectResultContains(new String[] {"Jon Doe", "jon.doe@google.com", "555-555-5555",
+ "Jon Doe", "4111111111111111", "12", "2050", "visa", "123", "Google", "340 Main St",
+ "CA", "Los Angeles", "90291", "US", "en", "freeShippingOption"});
}
/**

Powered by Google App Engine
This is Rietveld 408576698