Index: chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestPaymentAppAndCardsTest.java |
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestPaymentAppAndCardsTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestPaymentAppAndCardsTest.java |
index be0b9c9b972855a02895de168dc60a44a90ad3d2..c0e52d070b7273acf446f2339e99f46e67e42c1b 100644 |
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestPaymentAppAndCardsTest.java |
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestPaymentAppAndCardsTest.java |
@@ -96,7 +96,7 @@ public class PaymentRequestPaymentAppAndCardsTest extends PaymentRequestTestBase |
clickInPaymentMethodAndWait(R.id.payments_add_option_button, mReadyToEdit); |
// Cancel the editor. |
- clickInCardEditorAndWait(R.id.payments_edit_cancel_button, mReadyForInput); |
+ clickInCardEditorAndWait(R.id.payments_edit_cancel_button, mReadyToPay); |
// Expect the existing row to still be selected in the Shipping Address section. |
expectPaymentMethodRowIsSelected(0); |
@@ -113,7 +113,7 @@ public class PaymentRequestPaymentAppAndCardsTest extends PaymentRequestTestBase |
clickInPaymentMethodAndWait(R.id.payments_open_editor_pencil_button, mReadyToEdit); |
// Cancel the editor. |
- clickInCardEditorAndWait(R.id.payments_edit_cancel_button, mReadyForInput); |
+ clickInCardEditorAndWait(R.id.payments_edit_cancel_button, mReadyToPay); |
// Expect the row to still be selected in the Shipping Address section. |
expectPaymentMethodRowIsSelected(0); |