Index: chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestShippingAddressTest.java |
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestShippingAddressTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestShippingAddressTest.java |
index b82b016a7683a55aa5abc4f86edd76d082b13845..21d0a54ea1eac0a2e331acac44081a68676a297e 100644 |
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestShippingAddressTest.java |
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestShippingAddressTest.java |
@@ -125,7 +125,7 @@ public class PaymentRequestShippingAddressTest extends PaymentRequestTestBase { |
clickInShippingAddressAndWait(R.id.payments_open_editor_pencil_button, mReadyToEdit); |
// Cancel the editor. |
- clickInEditorAndWait(R.id.payments_edit_cancel_button, mReadyForInput); |
+ clickInEditorAndWait(R.id.payments_edit_cancel_button, mReadyToPay); |
// Expect the row to still be selected in the Shipping Address section. |
expectShippingAddressRowIsSelected(0); |
@@ -142,7 +142,7 @@ public class PaymentRequestShippingAddressTest extends PaymentRequestTestBase { |
clickInShippingAddressAndWait(R.id.payments_add_option_button, mReadyToEdit); |
// Cancel the editor. |
- clickInEditorAndWait(R.id.payments_edit_cancel_button, mReadyForInput); |
+ clickInEditorAndWait(R.id.payments_edit_cancel_button, mReadyToPay); |
// Expect the existing row to still be selected in the Shipping Address section. |
expectShippingAddressRowIsSelected(0); |