| Index: android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientGetVideoLoadingProgressViewTest.java
|
| diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientGetVideoLoadingProgressViewTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientGetVideoLoadingProgressViewTest.java
|
| index 6275682714548cf0a90edab5791411335e65ed42..5060d67968195a9669299070655d61e29894ecc8 100644
|
| --- a/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientGetVideoLoadingProgressViewTest.java
|
| +++ b/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientGetVideoLoadingProgressViewTest.java
|
| @@ -28,9 +28,11 @@ import java.util.concurrent.TimeoutException;
|
| public class AwContentsClientGetVideoLoadingProgressViewTest extends AwTestBase
|
| implements View.OnAttachStateChangeListener {
|
| private static final String VIDEO_TEST_URL =
|
| - "file:///android_asset/full_screen_video_test.html";
|
| - // This value must be kept in sync with the string in full_screen_video_test.html
|
| + "file:///android_asset/full_screen_video_test_not_preloaded.html";
|
| + // These values must be kept in sync with the element ids in the above file.
|
| + private static final String CUSTOM_PLAY_CONTROL_ID = "playControl";
|
| private static final String CUSTOM_FULLSCREEN_CONTROL_ID = "fullscreenControl";
|
| +
|
| private CallbackHelper mViewAttachedCallbackHelper = new CallbackHelper();
|
|
|
| @Override
|
| @@ -70,6 +72,8 @@ public class AwContentsClientGetVideoLoadingProgressViewTest extends AwTestBase
|
| loadUrlSync(awContents, contentsClient.getOnPageFinishedHelper(), VIDEO_TEST_URL);
|
| Thread.sleep(5 * 1000);
|
| DOMUtils.clickNode(this, awContents.getContentViewCore(), CUSTOM_FULLSCREEN_CONTROL_ID);
|
| + Thread.sleep(1 * 1000);
|
| + DOMUtils.clickNode(this, awContents.getContentViewCore(), CUSTOM_PLAY_CONTROL_ID);
|
| waitForViewAttached();
|
| }
|
| }
|
|
|