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

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: address comments Created 3 years, 7 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..d291cf1636161cb8099dbc6c23cc0637d8b7bf88 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,11 @@ 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 display in the summary right text view.
gogerald1 2017/06/02 15:05:11 *is displayed in the right summary text view.
wuandy1 2017/06/02 19:53:12 Done.
+ Assert.assertEquals("$0.00", mPaymentRequestTestRule.getShippingOptionCostSummaryLabel());
}
/** Verifies that the shipping address format in fullsheet mode is as expected. */

Powered by Google App Engine
This is Rietveld 408576698