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

Side by Side Diff: chrome/browser/ui/views/payments/payment_request_can_make_payment_browsertest.cc

Issue 2777853002: Disable flaky SitePerProcessTextInputManagerTest.TrackPageFocusEditableElement (Closed)
Patch Set: Created 3 years, 9 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/renderer_host/site_per_process_text_input_browsertest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <vector> 5 #include <vector>
6 6
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "chrome/browser/ui/views/payments/payment_request_browsertest_base.h" 9 #include "chrome/browser/ui/views/payments/payment_request_browsertest_base.h"
10 #include "components/autofill/core/browser/autofill_test_utils.h" 10 #include "components/autofill/core/browser/autofill_test_utils.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 const autofill::CreditCard card = autofill::test::GetCreditCard2(); // Amex. 59 const autofill::CreditCard card = autofill::test::GetCreditCard2(); // Amex.
60 AddCreditCard(card); 60 AddCreditCard(card);
61 61
62 CallCanMakePayment(); 62 CallCanMakePayment();
63 63
64 ExpectBodyContains(std::vector<base::string16>{base::ASCIIToUTF16("false")}); 64 ExpectBodyContains(std::vector<base::string16>{base::ASCIIToUTF16("false")});
65 } 65 }
66 66
67 // Visa is required, and user doesn't have a visa instrument and the user is in 67 // Visa is required, and user doesn't have a visa instrument and the user is in
68 // incognito mode. 68 // incognito mode.
69 // Test is flaky. crbug.com/705271
69 IN_PROC_BROWSER_TEST_F(PaymentRequestCanMakePaymentQueryTest, 70 IN_PROC_BROWSER_TEST_F(PaymentRequestCanMakePaymentQueryTest,
70 CanMakePayment_NotSupported_Incognito) { 71 DISABLED_CanMakePayment_NotSupported_Incognito) {
71 SetIncognitoForTesting(); 72 SetIncognitoForTesting();
72 73
73 const autofill::CreditCard card = autofill::test::GetCreditCard2(); // Amex. 74 const autofill::CreditCard card = autofill::test::GetCreditCard2(); // Amex.
74 AddCreditCard(card); 75 AddCreditCard(card);
75 76
76 CallCanMakePayment(); 77 CallCanMakePayment();
77 78
78 // Returns true because the user is in incognito mode, even though it should 79 // Returns true because the user is in incognito mode, even though it should
79 // return false in a normal profile. 80 // return false in a normal profile.
80 ExpectBodyContains(std::vector<base::string16>{base::ASCIIToUTF16("true")}); 81 ExpectBodyContains(std::vector<base::string16>{base::ASCIIToUTF16("true")});
81 } 82 }
82 83
83 } // namespace payments 84 } // namespace payments
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/site_per_process_text_input_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698