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

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

Issue 2772263002: Disable flaky CanMakePayment_Supported and CanMakePayment_NotSupported_Incognito (PaymentRequestCan… (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/payments/payment_request_can_make_payment_browsertest.cc
diff --git a/chrome/browser/ui/views/payments/payment_request_can_make_payment_browsertest.cc b/chrome/browser/ui/views/payments/payment_request_can_make_payment_browsertest.cc
index ed8657a85d010e6326c03ae3c65904ea7e220291..707ddf804bb19cb9313bc5498f29f9ca4500c095 100644
--- a/chrome/browser/ui/views/payments/payment_request_can_make_payment_browsertest.cc
+++ b/chrome/browser/ui/views/payments/payment_request_can_make_payment_browsertest.cc
@@ -29,14 +29,9 @@ class PaymentRequestCanMakePaymentQueryTest
};
// Visa is required, and user has a visa instrument.
-// Test is flaky on ChromeOS. crbug.com/705225
-#if defined(OS_CHROMEOS)
-#define MAYBE_CanMakePayment_Supported DISABLED_CanMakePayment_Supported
-#else
-#define MAYBE_CanMakePayment_Supported CanMakePayment_Supported
-#endif
+// Test is flaky. crbug.com/705225
IN_PROC_BROWSER_TEST_F(PaymentRequestCanMakePaymentQueryTest,
- MAYBE_CanMakePayment_Supported) {
+ DISABLED_CanMakePayment_Supported) {
const autofill::CreditCard card = autofill::test::GetCreditCard(); // Visa.
AddCreditCard(card);
@@ -72,16 +67,9 @@ IN_PROC_BROWSER_TEST_F(PaymentRequestCanMakePaymentQueryTest,
// Visa is required, and user doesn't have a visa instrument and the user is in
// incognito mode.
-// Test is flaky on ChromeOS. crbug.com/705271
-#if defined(OS_CHROMEOS)
-#define MAYBE_CanMakePayment_NotSupported_Incognito \
- DISABLED_CanMakePayment_NotSupported_Incognito
-#else
-#define MAYBE_CanMakePayment_NotSupported_Incognito \
- CanMakePayment_NotSupported_Incognito
-#endif
+// Test is flaky. crbug.com/705271
IN_PROC_BROWSER_TEST_F(PaymentRequestCanMakePaymentQueryTest,
- MAYBE_CanMakePayment_NotSupported_Incognito) {
+ DISABLED_CanMakePayment_NotSupported_Incognito) {
SetIncognitoForTesting();
const autofill::CreditCard card = autofill::test::GetCreditCard2(); // Amex.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698