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

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

Issue 2462473002: [Payments] Don't show select when clicking in billing address drop. (Closed)
Patch Set: Addressed comments Created 4 years, 1 month 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/PaymentRequestExpiredLocalCardTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestExpiredLocalCardTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestExpiredLocalCardTest.java
index 1d06485d51e4f13c9f1b0b2b029ae9ff6b225dcb..cb18b020d5b57f39805fc2fbaa9e68249d6fd09e 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestExpiredLocalCardTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestExpiredLocalCardTest.java
@@ -102,12 +102,12 @@ public class PaymentRequestExpiredLocalCardTest extends PaymentRequestTestBase {
clickInPaymentMethodAndWait(R.id.payments_add_option_button, mReadyToEdit);
// Set the expiration date to past month of the current year.
setSpinnerSelectionsInCardEditorAndWait(
- new int[] {now.get(Calendar.MONTH) - 1, 0, 1}, mBillingAddressChangeProcessed);
+ new int[] {now.get(Calendar.MONTH) - 1, 0, 0}, mBillingAddressChangeProcessed);
setTextInCardEditorAndWait(new String[] {"4111111111111111", "Jon Doe"}, mEditorTextUpdate);
clickInCardEditorAndWait(R.id.payments_edit_done_button, mEditorValidationError);
// Set the expiration date to the current month of the current year.
- setSpinnerSelectionsInCardEditorAndWait(new int[] {now.get(Calendar.MONTH), 0, 1},
+ setSpinnerSelectionsInCardEditorAndWait(new int[] {now.get(Calendar.MONTH), 0, 0},
mExpirationMonthChange);
clickInCardEditorAndWait(R.id.payments_edit_done_button, mReadyToPay);

Powered by Google App Engine
This is Rietveld 408576698