| Index: chrome/android/javatests/src/org/chromium/chrome/browser/infobar/InfoBarTest.java
|
| diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/infobar/InfoBarTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/infobar/InfoBarTest.java
|
| index 7373621777d09577f4acfb134cf688b25fb681eb..dff0124b84b2c6ea5901ff135d598631bd56f8f0 100644
|
| --- a/chrome/android/javatests/src/org/chromium/chrome/browser/infobar/InfoBarTest.java
|
| +++ b/chrome/android/javatests/src/org/chromium/chrome/browser/infobar/InfoBarTest.java
|
| @@ -19,6 +19,7 @@ import org.chromium.base.test.util.AdvancedMockContext;
|
| import org.chromium.base.test.util.CommandLineFlags;
|
| import org.chromium.base.test.util.DisabledTest;
|
| import org.chromium.base.test.util.Feature;
|
| +import org.chromium.base.test.util.RetryOnFailure;
|
| import org.chromium.base.test.util.UrlUtils;
|
| import org.chromium.chrome.browser.ChromeActivity;
|
| import org.chromium.chrome.browser.ChromeSwitches;
|
| @@ -148,6 +149,7 @@ public class InfoBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
|
| @Smoke
|
| @MediumTest
|
| @Feature({"Browser", "Main"})
|
| + @RetryOnFailure
|
| public void testInfoBarForGeolocation() throws InterruptedException {
|
| LocationSettingsTestUtil.setSystemLocationSettingEnabled(true);
|
| loadUrl(mTestServer.getURL(GEOLOCATION_PAGE));
|
| @@ -170,6 +172,7 @@ public class InfoBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
|
| */
|
| @MediumTest
|
| @Feature({"Browser"})
|
| + @RetryOnFailure
|
| public void testInfoBarForGeolocationDisappearsOnBack() throws InterruptedException {
|
| LocationSettingsTestUtil.setSystemLocationSettingEnabled(true);
|
| loadUrl(HELLO_WORLD_URL);
|
| @@ -204,6 +207,7 @@ public class InfoBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
|
| @MediumTest
|
| @CommandLineFlags.Add("force-fieldtrials=DataCompressionProxyPromoVisibility/Enabled")
|
| @Feature({"Browser", "Main"})
|
| + @RetryOnFailure
|
| public void testDataReductionPromoInfoBar() throws InterruptedException {
|
| ThreadUtils.runOnUiThreadBlocking(new Runnable() {
|
| @Override
|
| @@ -264,6 +268,7 @@ public class InfoBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
|
| @MediumTest
|
| @CommandLineFlags.Add("force-fieldtrials=DataCompressionProxyPromoVisibility/Enabled")
|
| @Feature({"Browser", "Main"})
|
| + @RetryOnFailure
|
| public void testDataReductionPromoInfoBarDismissed() throws InterruptedException {
|
| ThreadUtils.runOnUiThreadBlocking(new Runnable() {
|
| @Override
|
| @@ -426,6 +431,7 @@ public class InfoBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
|
| @Smoke
|
| @MediumTest
|
| @Feature({"Browser", "Main"})
|
| + @RetryOnFailure
|
| public void testInfoBarForHungRendererCanKillRenderer() throws InterruptedException {
|
| loadUrl(HELLO_WORLD_URL);
|
|
|
| @@ -472,6 +478,7 @@ public class InfoBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
|
| */
|
| @MediumTest
|
| @Feature({"Browser", "Main"})
|
| + @RetryOnFailure
|
| public void testInfoBarContainerSwapsWebContents() throws InterruptedException {
|
| // Add an infobar.
|
| LocationSettingsTestUtil.setSystemLocationSettingEnabled(true);
|
|
|