chromium/third_party/blink/web_tests/media/controls/video-controls-with-cast-rendering.html

<!DOCTYPE html>
<html>
<head>
  <script src="../media-file.js"></script>
  <script src="../video-paint-test.js"></script>
  <script src="../media-controls.js"></script>
</head>
<body>
  <p>Test controls rendering with cast button.</p>
  <div>
    <video controls></video>
  </div>
  <div>
    <video controls style="width: 320px;"></video>
  </div>
  <div>
    <video controls style="position: absolute; width: 320px;"></video>
  </div>
  <script>
    var videos = document.getElementsByTagName('video');
    let call_count = 0;
    for (var i = 0; i < videos.length; ++i) {
      let video = videos[i];
      enableTestMode(video);

      video.requestVideoFrameCallback(() => {
        if (window.internals)
          internals.mediaPlayerRemoteRouteAvailabilityChanged(video, true);

        if (++call_count == videos.length && window.testRunner)
          testRunner.notifyDone();
      });
    }

    setSrcByTagName('video', '../content/test.ogv');
  </script>
</body>
</html>