Index: chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestIncompleteEmailTest.java |
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestIncompleteEmailTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestIncompleteEmailTest.java |
index 6f87d7fbb634aa9076f32a909f8f49f4c1b9b1a9..80bd83aae41125e7828a27750d852374a0ecbd87 100644 |
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestIncompleteEmailTest.java |
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestIncompleteEmailTest.java |
@@ -8,6 +8,7 @@ import android.content.DialogInterface; |
import android.test.suitebuilder.annotation.MediumTest; |
import org.chromium.base.test.util.Feature; |
+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; |
@@ -41,6 +42,7 @@ public class PaymentRequestIncompleteEmailTest extends PaymentRequestTestBase { |
/** Attempt to update the email with invalid data and cancel the transaction. */ |
@MediumTest |
+ @FlakyTest(message = "crbug.com/673371") |
@Feature({"Payments"}) |
public void testEditIncompleteEmailAndCancel() |
throws InterruptedException, ExecutionException, TimeoutException { |
@@ -49,7 +51,7 @@ public class PaymentRequestIncompleteEmailTest extends PaymentRequestTestBase { |
clickInContactInfoAndWait(R.id.payments_first_radio_button, mReadyToEdit); |
setTextInEditorAndWait(new String[] {"gmail.com"}, mEditorTextUpdate); |
clickInEditorAndWait(R.id.payments_edit_done_button, mEditorValidationError); |
- clickInEditorAndWait(R.id.payments_edit_cancel_button, mReadyForInput); |
+ clickInEditorAndWait(R.id.payments_edit_cancel_button, mReadyToPay); |
clickAndWait(R.id.close_button, mDismissed); |
expectResultContains(new String[] {"Request cancelled"}); |
} |