0

AW: increase video length

No change to production behavior.

The video was only 1 second long, which appears to not be long enough
for the test case. I found a similar video in chromium with a 2 second
runtime instead, so this may reduce flakiness.

I copied the new video from:

$ cp media/test/data/bear-vp8-webvtt.webm android_webview/test/shell/assets/video.webm

Fixed: 1273004
Fixed: 1102783
Test: tools/mb/mb.py run -s --no-default-dimensions \
Test: -d pool chromium.tests.avd \
Test: -d machine_type e2-standard-8 \
Test: -j 500 out/Default webview_instrumentation_test_apk -- \
Test: --avd-config=../../tools/android/avd/proto/generic_android28.textpb \
Test: -f=org.chromium.android_webview.test.AwContentsClientFullScreenTest#testPowerSaveBlockerIsTransferredToFullscreen \
Test: --num_retries=0 --repeat=100 --break-on-failure
Change-Id: I6adaefe204605796520ec2114d6128db0351d7d5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3299352
Commit-Queue: Nate Fischer <ntfschr@chromium.org>
Commit-Queue: Shimi Zhang <ctzsm@chromium.org>
Auto-Submit: Nate Fischer <ntfschr@chromium.org>
Reviewed-by: Shimi Zhang <ctzsm@chromium.org>
Cr-Commit-Position: refs/heads/main@{#944758}
This commit is contained in:
Nate Fischer
2021-11-24 00:28:44 +00:00
committed by Chromium LUCI CQ
parent 03aeb095b2
commit 4510c28866
2 changed files with 0 additions and 3 deletions
android_webview
javatests
src
org
chromium
test
shell

@ -265,7 +265,6 @@ public class AwContentsClientFullScreenTest {
@Test
@MediumTest
@Feature({"AndroidWebView"})
@DisabledTest(message = "crbug.com/1273004") // Flaky
public void testPowerSaveBlockerIsEnabledDuringEmbeddedPlayback() throws Throwable {
Assert.assertFalse(DOMUtils.isFullscreen(getWebContentsOnUiThread()));
loadTestPage(VIDEO_INSIDE_DIV_TEST_URL);
@ -285,7 +284,6 @@ public class AwContentsClientFullScreenTest {
@MediumTest
@Feature({"AndroidWebView"})
@Test
@DisabledTest(message = "crbug.com/1273004") // Flaky
public void testPowerSaveBlockerIsTransferredToFullscreen() throws Throwable {
Assert.assertFalse(DOMUtils.isFullscreen(getWebContentsOnUiThread()));
loadTestPage(VIDEO_INSIDE_DIV_TEST_URL);
@ -314,7 +312,6 @@ public class AwContentsClientFullScreenTest {
@Test
@MediumTest
@Feature({"AndroidWebView"})
@DisabledTest(message = "crbug.com/1273004") // Flaky
public void testPowerSaveBlockerIsTransferredToEmbedded() throws Throwable {
// Enter fullscreen.
doOnShowCustomViewTest(VIDEO_INSIDE_DIV_TEST_URL);