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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/dom_distiller/ReaderModeManagerTest.java

Issue 2331533002: Mark flaky chrome_public tests with @RetryOnFailure Batch 2 (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
Index: chrome/android/javatests/src/org/chromium/chrome/browser/dom_distiller/ReaderModeManagerTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/dom_distiller/ReaderModeManagerTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/dom_distiller/ReaderModeManagerTest.java
index d804aeb8a08e3e8dda6efb553b797cb6e7cc4d2d..4e3d47307a8fc884215f8bb68bc0119e35546ae3 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/dom_distiller/ReaderModeManagerTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/dom_distiller/ReaderModeManagerTest.java
@@ -9,6 +9,7 @@ import android.test.InstrumentationTestCase;
import android.test.suitebuilder.annotation.SmallTest;
import org.chromium.base.test.util.Feature;
+import org.chromium.base.test.util.RetryOnFailure;
import org.chromium.chrome.browser.compositor.bottombar.OverlayPanel.StateChangeReason;
import org.chromium.chrome.browser.compositor.bottombar.OverlayPanelContent;
import org.chromium.chrome.browser.compositor.bottombar.OverlayPanelManager;
@@ -178,6 +179,7 @@ public class ReaderModeManagerTest extends InstrumentationTestCase {
*/
@SmallTest
@Feature({"ReaderModeManager"})
+ @RetryOnFailure
public void testInfoBarEvents() {
mPanel.requestPanelShow(StateChangeReason.UNKNOWN);
@@ -195,6 +197,7 @@ public class ReaderModeManagerTest extends InstrumentationTestCase {
*/
@SmallTest
@Feature({"ReaderModeManager"})
+ @RetryOnFailure
public void testFullscreenEvents() {
mPanel.requestPanelShow(StateChangeReason.UNKNOWN);
@@ -239,6 +242,7 @@ public class ReaderModeManagerTest extends InstrumentationTestCase {
*/
@SmallTest
@Feature({"ReaderModeManager"})
+ @RetryOnFailure
public void testPanelCloseRecorded() {
Tab tab = new Tab(0, false, null);
mReaderManager.setShouldTrigger(false);

Powered by Google App Engine
This is Rietveld 408576698