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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/widget/findinpage/FindTest.java

Issue 2594223002: Removed a flaky test (Closed)
Patch Set: Created 4 years 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/widget/findinpage/FindTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/widget/findinpage/FindTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/widget/findinpage/FindTest.java
index ba8cb74dbcaa0295e1b40a0f688c8a78f2cbc16e..db94191d92bef4f845d9e478ee166660d8329704 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/widget/findinpage/FindTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/widget/findinpage/FindTest.java
@@ -227,29 +227,6 @@ public class FindTest extends ChromeTabbedActivityTestBase {
}
/**
- * Verify that Next/Previous buttons are disabled whenever there is no match.
- */
- @MediumTest
- @Feature({"FindInPage"})
- @RetryOnFailure
- public void testFindNextPreviousOnNoMatch() throws InterruptedException {
- loadTestAndVerifyFindInPage("pp", "0/0");
-
- final TextView findQueryText = getFindQueryText();
- View next = getActivity().findViewById(R.id.find_next_button);
- View prev = getActivity().findViewById(R.id.find_prev_button);
- assertFalse(next.isEnabled());
- assertFalse(prev.isEnabled());
-
- KeyUtils.singleKeyEventView(getInstrumentation(), findQueryText, KeyEvent.KEYCODE_DEL);
- KeyUtils.singleKeyEventView(getInstrumentation(), findQueryText, KeyEvent.KEYCODE_DEL);
-
- loadTestAndVerifyFindInPage("pitts", "1/7");
- assertTrue(next.isEnabled());
- assertTrue(prev.isEnabled());
- }
-
- /**
* Verify that Find in page toolbar is dismissed on entering fullscreen.
*/
@MediumTest
« 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