Index: chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestTestRule.java |
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestTestRule.java b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestTestRule.java |
index 64adedc83ea10603528620cfcd6a080d6350d789..3ca0aa67ac4e99adb89449ea1767452d1ae5c4e8 100644 |
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestTestRule.java |
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestTestRule.java |
@@ -232,6 +232,16 @@ public class PaymentRequestTestRule extends ChromeActivityTestRule<ChromeTabbedA |
return mTestCommon.getPaymentInstrumentLabel(index); |
} |
+ /** Returns the label of the selected payment instrument. */ |
+ protected String getSelectedPaymentInstrumentLabel() throws ExecutionException { |
+ return mTestCommon.getSelectedPaymentInstrumentLabel(); |
+ } |
+ |
+ /** Returns the total amount in order summary section. */ |
+ protected String getOrderSummaryTotal() throws ExecutionException { |
+ return mTestCommon.getOrderSummaryTotal(); |
+ } |
+ |
/** |
* Returns the label corresponding to the contact detail suggestion at the specified |
* |suggestionIndex|. |