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

Unified Diff: content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java

Issue 2353583005: android: Mark flaky tests with @RetryOnFailure (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 | « content/public/android/javatests/src/org/chromium/content/browser/ContentViewScrollingTest.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java b/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java
index 645dd4ed2b7df506d1affa941855eba4bea25b1d..40fc9c5c7dc4cd2440b382fa74f858688ff1ab70 100644
--- a/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java
+++ b/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java
@@ -343,6 +343,7 @@ public class ImeTest extends ContentShellTestBase {
@SmallTest
@Feature({"TextInput"})
+ @RetryOnFailure
public void testEnterTextAndRefocus() throws Exception {
commitText("hello", 1);
waitAndVerifyUpdateSelection(0, 5, 5, -1, -1);
@@ -494,6 +495,7 @@ public class ImeTest extends ContentShellTestBase {
@SmallTest
@Feature({"TextInput"})
+ @RetryOnFailure
public void testSelectActionBarShownOnLongPressingInput() throws Exception {
DOMUtils.longPressNode(this, mContentViewCore, "input_text");
assertWaitForSelectActionBarStatus(false);
@@ -824,6 +826,7 @@ public class ImeTest extends ContentShellTestBase {
// http://crbug.com/445499
@SmallTest
@Feature({"TextInput", "Main"})
+ @RetryOnFailure
public void testDeleteText() throws Throwable {
focusElement("textarea");
@@ -870,6 +873,7 @@ public class ImeTest extends ContentShellTestBase {
@SmallTest
@Feature({"TextInput", "Main"})
+ @RetryOnFailure
public void testSwipingText() throws Throwable {
focusElement("textarea");
@@ -1249,6 +1253,7 @@ public class ImeTest extends ContentShellTestBase {
@MediumTest
@Feature({"TextInput"})
+ @RetryOnFailure
public void testRestartInputWhileComposingText() throws Throwable {
setComposingText("abc", 1);
waitAndVerifyUpdateSelection(0, 3, 3, 0, 3);
@@ -1321,6 +1326,7 @@ public class ImeTest extends ContentShellTestBase {
@MediumTest
@Feature({"TextInput"})
+ @RetryOnFailure
public void testInputTextEvents_CommitText() throws Throwable {
commitText("a", 1);
waitAndVerifyUpdateSelection(0, 1, 1, -1, -1);
@@ -1330,6 +1336,7 @@ public class ImeTest extends ContentShellTestBase {
@MediumTest
@Feature({"TextInput"})
+ @RetryOnFailure
public void testContentEditableEvents_DeleteSurroundingText() throws Throwable {
focusElementAndWaitForStateUpdate("contenteditable_event");
waitForEventLogs("selectionchange,selectionchange");
« no previous file with comments | « content/public/android/javatests/src/org/chromium/content/browser/ContentViewScrollingTest.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698