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

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

Issue 2720223004: Use PaymentRequestItemList for Shipping screen (Closed)
Patch Set: tryna fix tests 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 b8d3deaa1e24a386a87ddff66f8544f8d681c39f..d494c04044fdab83e4391570491a7dfecab163d2 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
@@ -57,7 +57,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());
}
@@ -104,11 +104,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