Commit e9cdae5b authored by arthursonzogni's avatar arthursonzogni Committed by Commit Bot

🤠 Disable TranslateCompactInfoBarTest#testManualInitiationWithBarOpen

Disable this test on Marshmallow, because it it consistently failing
since it was added.

TBR=jds@google.com,dtrainor@chromium.org

Bug: 1127786
Change-Id: Iacf3ac30bdabad95c510548920c872ed0cb8c7af
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2409432Reviewed-by: default avatarArthur Sonzogni <arthursonzogni@chromium.org>
Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#806566}
parent 71408e3b
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
package org.chromium.chrome.browser.translate; package org.chromium.chrome.browser.translate;
import android.content.pm.ActivityInfo; import android.content.pm.ActivityInfo;
import android.os.Build.VERSION_CODES;
import android.support.test.InstrumentationRegistry; import android.support.test.InstrumentationRegistry;
import androidx.test.filters.MediumTest; import androidx.test.filters.MediumTest;
...@@ -17,6 +18,7 @@ import org.junit.Test; ...@@ -17,6 +18,7 @@ import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.chromium.base.test.util.CommandLineFlags; import org.chromium.base.test.util.CommandLineFlags;
import org.chromium.base.test.util.DisableIf;
import org.chromium.base.test.util.Feature; import org.chromium.base.test.util.Feature;
import org.chromium.base.test.util.Restriction; import org.chromium.base.test.util.Restriction;
import org.chromium.chrome.R; import org.chromium.chrome.R;
...@@ -201,7 +203,11 @@ public class TranslateCompactInfoBarTest { ...@@ -201,7 +203,11 @@ public class TranslateCompactInfoBarTest {
@MediumTest @MediumTest
@Feature({"Browser", "Main"}) @Feature({"Browser", "Main"})
@Restriction(ChromeRestriction.RESTRICTION_TYPE_GOOGLE_PLAY_SERVICES) @Restriction(ChromeRestriction.RESTRICTION_TYPE_GOOGLE_PLAY_SERVICES)
public void testManualInitiationWithBarOpen() throws TimeoutException { @DisableIf.
Build(sdk_is_greater_than = VERSION_CODES.LOLLIPOP_MR1, sdk_is_less_than = VERSION_CODES.N,
message = "Consistently failing on Marshmallow https://crbug.com/1127786")
public void
testManualInitiationWithBarOpen() throws TimeoutException {
mActivityTestRule.loadUrl(mTestServer.getURL(TRANSLATE_PAGE)); mActivityTestRule.loadUrl(mTestServer.getURL(TRANSLATE_PAGE));
mListener.addInfoBarAnimationFinished("InfoBar not opened."); mListener.addInfoBarAnimationFinished("InfoBar not opened.");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment