Commit b7a8a1b6 authored by Shimi Zhang's avatar Shimi Zhang Committed by Commit Bot

Enable testUseWideViewportLayoutWidth{NoQuirks}

Run testUseWideViewportLayoutWidthNoQuirks() on N 600 times and
on O 100 times, then run both tests for another 500 times, didn't see
any failure, enable to see how will the flakiness dashboard say.

Bug: 797009
Change-Id: If970a068fe6bccc5a9b1d7960fa69ff678260112
Reviewed-on: https://chromium-review.googlesource.com/1014475Reviewed-by: default avatarChangwan Ryu <changwan@chromium.org>
Commit-Queue: Shimi Zhang <ctzsm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#551385}
parent ca7bcc0a
...@@ -2632,28 +2632,23 @@ public class AwSettingsTest { ...@@ -2632,28 +2632,23 @@ public class AwSettingsTest {
viewportTagSpecifiedWidth, mActivityTestRule.getTitleOnUiThread(awContents)); viewportTagSpecifiedWidth, mActivityTestRule.getTitleOnUiThread(awContents));
} }
// WebView layout width tests are flaky: http://crbug.com/746264
@Test @Test
@SmallTest @SmallTest
@Feature({"AndroidWebView", "Preferences"}) @Feature({"AndroidWebView", "Preferences"})
@DisabledTest(message = "crbug.com/746264")
public void testUseWideViewportLayoutWidth() throws Throwable { public void testUseWideViewportLayoutWidth() throws Throwable {
TestAwContentsClient contentClient = new TestAwContentsClient(); TestAwContentsClient contentClient = new TestAwContentsClient();
AwTestContainerView testContainerView = AwTestContainerView testContainerView =
mActivityTestRule.createAwTestContainerViewOnMainSync(contentClient); mActivityTestRule.createAwTestContainerViewOnMainSync(contentClient, true);
useWideViewportLayoutWidthTest(testContainerView, contentClient.getOnPageFinishedHelper()); useWideViewportLayoutWidthTest(testContainerView, contentClient.getOnPageFinishedHelper());
} }
// WebView layout width tests are flaky: http://crbug.com/746264
@RetryOnFailure
@Test @Test
@SmallTest @SmallTest
@Feature({"AndroidWebView", "Preferences"}) @Feature({"AndroidWebView", "Preferences"})
@DisabledTest(message = "crbug.com/746264")
public void testUseWideViewportLayoutWidthNoQuirks() throws Throwable { public void testUseWideViewportLayoutWidthNoQuirks() throws Throwable {
TestAwContentsClient contentClient = new TestAwContentsClient(); TestAwContentsClient contentClient = new TestAwContentsClient();
AwTestContainerView testContainerView = AwTestContainerView testContainerView =
mActivityTestRule.createAwTestContainerViewOnMainSync(contentClient, false); mActivityTestRule.createAwTestContainerViewOnMainSync(contentClient);
useWideViewportLayoutWidthTest(testContainerView, contentClient.getOnPageFinishedHelper()); useWideViewportLayoutWidthTest(testContainerView, contentClient.getOnPageFinishedHelper());
} }
......
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