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

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

Issue 2472043003: [Payments] Don't show Organization in billing address selection label. (Closed)
Patch Set: Updated test + Addressed Dan's comment Created 4 years, 1 month 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/PaymentRequestBillingAddressTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestBillingAddressTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestBillingAddressTest.java
index ac894aa379d411bc73ef79e0b05e0625d6b9196c..0acd93fba22ff2035c967a8dbee5eaf308fe3a0f 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestBillingAddressTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestBillingAddressTest.java
@@ -46,8 +46,10 @@ public class PaymentRequestBillingAddressTest extends PaymentRequestTestBase {
setTextInCardEditorAndWait(new String[] {"5454-5454-5454-5454", "Bob"}, mEditorTextUpdate);
setSpinnerSelectionsInCardEditorAndWait(new int[] {11, 1, 0},
mBillingAddressChangeProcessed);
+ // The billing address suggestions should include only the name, address, city, state and
+ // zip code of the profile.
assertTrue(getSpinnerSelectionTextInCardEditor(2).equals(
- "Jon Doe, Google, 340 Main St, Los Angeles, CA 90291, United States"));
+ "Jon Doe, 340 Main St, Los Angeles, CA 90291"));
}
/**

Powered by Google App Engine
This is Rietveld 408576698