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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/omnibox/UrlBarTest.java

Issue 2332063002: Mark flaky chrome_public tests with @RetryOnFailure Batch 3 (Closed)
Patch Set: Created 4 years, 3 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 | « chrome/android/javatests/src/org/chromium/chrome/browser/omnibox/OmniboxTest.java ('k') | 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/omnibox/UrlBarTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/omnibox/UrlBarTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/omnibox/UrlBarTest.java
index ddd38c18a7c0242d7ed8c5e456fdb6659df902af..66d07ec6556e9a900540983695083224e5c1459b 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/omnibox/UrlBarTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/omnibox/UrlBarTest.java
@@ -16,6 +16,7 @@ import android.view.inputmethod.BaseInputConnection;
import org.chromium.base.ThreadUtils;
import org.chromium.base.test.util.Feature;
+import org.chromium.base.test.util.RetryOnFailure;
import org.chromium.chrome.R;
import org.chromium.chrome.browser.ChromeActivity;
import org.chromium.chrome.browser.profiles.Profile;
@@ -150,6 +151,7 @@ public class UrlBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
@SmallTest
@Feature({"Omnibox"})
+ @RetryOnFailure
public void testRefocusing() throws InterruptedException {
startMainActivityOnBlankPage();
UrlBar urlBar = getUrlBar();
@@ -159,6 +161,7 @@ public class UrlBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
@SmallTest
@Feature({"Omnibox"})
+ @RetryOnFailure
public void testAutocompleteUpdatedOnSetText() throws InterruptedException {
startMainActivityOnBlankPage();
stubLocationBarAutocomplete();
@@ -241,6 +244,7 @@ public class UrlBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
@SmallTest
@Feature({"Omnibox"})
+ @RetryOnFailure
public void testAutocompleteUpdatedOnSelection()
throws InterruptedException, TimeoutException {
startMainActivityOnBlankPage();
@@ -350,6 +354,7 @@ public class UrlBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
*/
@SmallTest
@Feature({"Omnibox"})
+ @RetryOnFailure
public void testSuggestionsUpdatedWhenDeletingInlineAutocomplete()
throws InterruptedException, TimeoutException {
startMainActivityOnBlankPage();
@@ -392,6 +397,7 @@ public class UrlBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
@SmallTest
@Feature({"Omnibox"})
+ @RetryOnFailure
public void testSelectionChangesIgnoredInBatchMode() throws InterruptedException {
startMainActivityOnBlankPage();
stubLocationBarAutocomplete();
@@ -429,6 +435,7 @@ public class UrlBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
@SmallTest
@Feature({"Omnibox"})
+ @RetryOnFailure
public void testBatchModeChangesTriggerCorrectSuggestions() throws InterruptedException {
startMainActivityOnBlankPage();
@@ -543,6 +550,7 @@ public class UrlBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
@SmallTest
@Feature("Omnibox")
+ @RetryOnFailure
public void testAutocompleteSpanClearedOnNonMatchingCommitText() throws InterruptedException {
startMainActivityOnBlankPage();
@@ -575,6 +583,7 @@ public class UrlBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
@SmallTest
@Feature({"Omnibox"})
+ @RetryOnFailure
public void testAutocompleteUpdatedOnDefocus() throws InterruptedException {
startMainActivityOnBlankPage();
stubLocationBarAutocomplete();
@@ -591,6 +600,7 @@ public class UrlBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
@SmallTest
@Feature({"Omnibox"})
+ @RetryOnFailure
public void testAutocompleteClearedOnComposition()
throws InterruptedException, ExecutionException {
startMainActivityOnBlankPage();
@@ -620,6 +630,7 @@ public class UrlBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
@SmallTest
@Feature("Omnibox")
+ @RetryOnFailure
public void testDelayedCompositionCorrectedWithAutocomplete()
throws InterruptedException, ExecutionException {
startMainActivityOnBlankPage();
@@ -734,6 +745,7 @@ public class UrlBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
*/
@SmallTest
@Feature({"Omnibox"})
+ @RetryOnFailure
public void testFocusingOnStartup() throws InterruptedException {
Intent intent = new Intent(Intent.ACTION_MAIN);
intent.addCategory(Intent.CATEGORY_LAUNCHER);
@@ -748,6 +760,7 @@ public class UrlBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
@SmallTest
@Feature({"Omnibox"})
+ @RetryOnFailure
public void testCopyHuge() throws InterruptedException {
startMainActivityWithURL(HUGE_URL);
OmniboxTestUtils.toggleUrlBarFocus(getUrlBar(), true);
« no previous file with comments | « chrome/android/javatests/src/org/chromium/chrome/browser/omnibox/OmniboxTest.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698