| 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 7b5fedb1f9555676f013bbd7a30253b2043bd95a..7fbdcd87d26f3d46814eab72aa4acda46916ccad 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
|
| @@ -165,10 +165,9 @@ public class PaymentRequestBillingAddressTest extends PaymentRequestTestBase {
|
| // option to add a new address.
|
| assertEquals(5, getSpinnerItemCountInCardEditor(BILLING_ADDRESS_DROPDOWN_INDEX));
|
|
|
| - // TODO(crbug.com/666048): New billing address label is wrong.
|
| // The fist suggestion should be the newly added address.
|
| assertTrue(getSpinnerTextAtPositionInCardEditor(BILLING_ADDRESS_DROPDOWN_INDEX,
|
| - 0).equals("Google, 340 Main St, Los Angeles, CA 90291, United States"));
|
| + 0).equals("Seb Doe, 340 Main St, Los Angeles, CA 90291"));
|
|
|
| // The rest of the billing address suggestions should be ordered by frecency.
|
| assertTrue(getSpinnerTextAtPositionInCardEditor(BILLING_ADDRESS_DROPDOWN_INDEX,
|
| @@ -206,9 +205,8 @@ public class PaymentRequestBillingAddressTest extends PaymentRequestTestBase {
|
| // option to add a new address.
|
| assertEquals(5, getSpinnerItemCountInCardEditor(BILLING_ADDRESS_DROPDOWN_INDEX));
|
|
|
| - // TODO(crbug.com/666048): New billing address label is wrong.
|
| // The new address should be suggested first.
|
| assertTrue(getSpinnerTextAtPositionInCardEditor(BILLING_ADDRESS_DROPDOWN_INDEX,
|
| - 0).equals("Google, 340 Main St, Los Angeles, CA 90291, United States"));
|
| + 0).equals("Seb Doe, 340 Main St, Los Angeles, CA 90291"));
|
| }
|
| }
|
|
|