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