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

Unified Diff: chrome/browser/ui/views/payments/payment_method_view_controller_interactive_uitest.cc

Issue 2720223004: Use PaymentRequestItemList for Shipping screen (Closed)
Patch Set: rebase Created 3 years, 10 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/browser/ui/views/payments/payment_method_view_controller_interactive_uitest.cc
diff --git a/chrome/browser/ui/views/payments/payment_method_view_controller_interactive_uitest.cc b/chrome/browser/ui/views/payments/payment_method_view_controller_interactive_uitest.cc
index 93f706b7f49ed81f3f2bdae6886d4bdefda3d4c8..580e056af6cfd3f7092a88d78d99066de7ffa667 100644
--- a/chrome/browser/ui/views/payments/payment_method_view_controller_interactive_uitest.cc
+++ b/chrome/browser/ui/views/payments/payment_method_view_controller_interactive_uitest.cc
@@ -49,7 +49,7 @@ IN_PROC_BROWSER_TEST_F(PaymentMethodViewControllerTest, OneCardSelected) {
EXPECT_EQ(card, *request->selected_credit_card());
views::View* checkmark_view = list_view->child_at(0)->GetViewByID(
- static_cast<int>(DialogViewID::PAYMENT_METHOD_ITEM_CHECKMARK_VIEW));
+ static_cast<int>(DialogViewID::CHECKMARK_VIEW));
EXPECT_TRUE(checkmark_view->visible());
}
@@ -78,11 +78,11 @@ IN_PROC_BROWSER_TEST_F(PaymentMethodViewControllerTest,
EXPECT_EQ(card1, *request->selected_credit_card());
views::View* checkmark_view = list_view->child_at(0)->GetViewByID(
- static_cast<int>(DialogViewID::PAYMENT_METHOD_ITEM_CHECKMARK_VIEW));
+ static_cast<int>(DialogViewID::CHECKMARK_VIEW));
EXPECT_TRUE(checkmark_view->visible());
views::View* checkmark_view2 = list_view->child_at(1)->GetViewByID(
- static_cast<int>(DialogViewID::PAYMENT_METHOD_ITEM_CHECKMARK_VIEW));
+ static_cast<int>(DialogViewID::CHECKMARK_VIEW));
EXPECT_FALSE(checkmark_view2->visible());
// Simulate selecting the second card.

Powered by Google App Engine
This is Rietveld 408576698