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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestNoShippingTest.java

Issue 2234213002: Mark two PaymentRequestNoShipping tests as flaky (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update bug number Created 4 years, 4 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/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestNoShippingTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestNoShippingTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestNoShippingTest.java
index 8615ba883fd4c60dada7bb5933118b8946d1a28c..34184cd31279ee2488bb1cdd668bd18d3c504151 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestNoShippingTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestNoShippingTest.java
@@ -9,6 +9,7 @@ import android.test.suitebuilder.annotation.MediumTest;
import org.chromium.base.ThreadUtils;
import org.chromium.base.metrics.RecordHistogram;
+import org.chromium.base.test.util.FlakyTest;
import org.chromium.chrome.R;
import org.chromium.chrome.browser.autofill.AutofillTestHelper;
import org.chromium.chrome.browser.autofill.PersonalDataManager.AutofillProfile;
@@ -95,8 +96,11 @@ public class PaymentRequestNoShippingTest extends PaymentRequestTestBase {
"123"});
}
- /** Attempt to add an invalid credit card number and cancel payment. */
- @MediumTest
+ /**
+ * Attempt to add an invalid credit card number and cancel payment.
+ * @MediumTest
+ */
+ @FlakyTest(message = "crbug.com/626289")
public void testAddInvalidCardNumberAndCancel()
throws InterruptedException, ExecutionException, TimeoutException {
fillNewCardForm("123", "Bob", DECEMBER, NEXT_YEAR, FIRST_BILLING_ADDRESS);
@@ -116,8 +120,11 @@ public class PaymentRequestNoShippingTest extends PaymentRequestTestBase {
new int[] {month, year, billingAddress}, mBillingAddressChangeProcessed);
}
- /** Attempt to add a credit card with an empty name on card and cancel payment. */
- @MediumTest
+ /**
+ * Attempt to add a credit card with an empty name on card and cancel payment.
+ * @MediumTest
+ */
+ @FlakyTest(message = "crbug.com/626289")
public void testAddEmptyNameOnCardAndCancel()
throws InterruptedException, ExecutionException, TimeoutException {
fillNewCardForm("5454-5454-5454-5454", "", DECEMBER, NEXT_YEAR, FIRST_BILLING_ADDRESS);
« 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