1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
8 * Checks the initial elements in the video player.
9 * @return {Promise} Promise to be fulfilled with on success.
11 testcase
.checkInitialElements = function() {
12 var test
= openSingleVideo('local', 'downloads', ENTRIES
.world
);
13 return test
.then(function(args
) {
15 var videoPlayer
= args
[1];
17 remoteCallVideoPlayer
.waitForElement(appId
, 'html[i18n-processed]'),
18 remoteCallVideoPlayer
.waitForElement(appId
, 'div#video-player'),
19 remoteCallVideoPlayer
.waitForElement(
20 appId
, '#video-container > video'),