Revert "Add sbox tests related to warming up of locales."
[chromium-blink-merge.git] / ui / file_manager / integration_tests / video_player / check_elements.js
blob8cfeb300ca0154fe3d5fe8a9b8d7110822dad4d5
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.
5 'use strict';
7 /**
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) {
14 var appId = args[0];
15 var videoPlayer = args[1];
16 return Promise.all([
17 remoteCallVideoPlayer.waitForElement(appId, 'html[i18n-processed]'),
18 remoteCallVideoPlayer.waitForElement(appId, 'div#video-player'),
19 remoteCallVideoPlayer.waitForElement(
20 appId, '#video-container > video'),
21 ]);
22 });