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

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

Issue 2914503002: align shipping option name to left and shipping cost to right on bottom sheet (Closed)
Patch Set: more fixing Created 3 years, 6 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/PaymentRequestShippingAddressAndOptionTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestShippingAddressAndOptionTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestShippingAddressAndOptionTest.java
index 299b6fc3107599d1b75fe08423793ddfe7dff270..903ebe6dc5f668c2b39e8bb3c9a130fae9d1d681 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestShippingAddressAndOptionTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestShippingAddressAndOptionTest.java
@@ -74,8 +74,12 @@ public class PaymentRequestShippingAddressAndOptionTest implements MainActivityS
// Make sure shipping option summary on bottom sheet is displayed in a single line
// as expected.
- Assert.assertEquals("Free global shipping, $0.00",
- mPaymentRequestTestRule.getShippingOptionSummaryLabel());
+ Assert.assertEquals(
+ "Free global shipping", mPaymentRequestTestRule.getShippingOptionSummaryLabel());
+
+ // Make sure shipping cost is displayed in the right summary text view.
+ Assert.assertEquals(
+ "$0.00", mPaymentRequestTestRule.getShippingOptionCostSummaryLabelOnBottomSheet());
}
/** Verifies that the shipping address format in fullsheet mode is as expected. */

Powered by Google App Engine
This is Rietveld 408576698