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

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

Issue 2854973002: [Web Payments] Go to editors directly when "Add" buttons are pressed (Closed)
Patch Set: Fix comments. Created 3 years, 8 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_browsertest.cc
diff --git a/chrome/browser/ui/views/payments/payment_method_view_controller_browsertest.cc b/chrome/browser/ui/views/payments/payment_method_view_controller_browsertest.cc
index 38c68657d66ac0c721ce4f9e16f11126680ca610..a95524e5c2eedf2a9428d8d5cbe9456960a8f24d 100644
--- a/chrome/browser/ui/views/payments/payment_method_view_controller_browsertest.cc
+++ b/chrome/browser/ui/views/payments/payment_method_view_controller_browsertest.cc
@@ -23,16 +23,6 @@ class PaymentMethodViewControllerTest : public PaymentRequestBrowserTestBase {
DISALLOW_COPY_AND_ASSIGN(PaymentMethodViewControllerTest);
};
-IN_PROC_BROWSER_TEST_F(PaymentMethodViewControllerTest, EmptyList) {
- InvokePaymentRequestUI();
- OpenPaymentMethodScreen();
-
- views::View* list_view = dialog_view()->GetViewByID(
- static_cast<int>(DialogViewID::PAYMENT_METHOD_SHEET_LIST_VIEW));
- EXPECT_TRUE(list_view);
- EXPECT_FALSE(list_view->has_children());
-}
-
IN_PROC_BROWSER_TEST_F(PaymentMethodViewControllerTest, OneCardSelected) {
const autofill::CreditCard card = autofill::test::GetCreditCard();
AddCreditCard(card);

Powered by Google App Engine
This is Rietveld 408576698