[Android] Disable remote playback on test video
The testEnterExitFullscreenWithControlsButton test in VideoFullscreenOrientationLockTest attempts to click on the fullscreen button in the video controls panel via hardcoded offsets from the bounds of the video element. These offsets assume there are no other buttons placed to the right of the fullscreen button, but in some circumstances the cast button will appear and cause the test to fail when the fullscreen button is not where the test expects it to be. This commit ensures that the test video never shows the cast button in the controls panel. Note: The download button does not need to be disabled because the media src is detected as being a local file and this causes the download button to not be shown. BUG=None TEST=Every test class that uses video-player.html: FullscreenVideoTest, VideoFullscreenOrientationLockTest, VideoFullscreenOrientationLockChromeTest, FullscreenActivityTest Change-Id: Ia14b8e515f0ea6510bfa54fce0fa2f809d4a22b1 Reviewed-on: https://chromium-review.googlesource.com/915017Reviewed-by:Mounir Lamouri <mlamouri@chromium.org> Commit-Queue: Mounir Lamouri <mlamouri@chromium.org> Cr-Commit-Position: refs/heads/master@{#536774}
Showing
Please register or sign in to comment