Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: ui/file_manager/integration_tests/video_player/check_elements.js

Issue 1229573003: Teach i18nTemplate.process() to handle <link rel=import> and <template> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: videoplayer test fixes Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 'use strict'; 5 'use strict';
6 6
7 /** 7 /**
8 * Checks the initial elements in the video player. 8 * Checks the initial elements in the video player.
9 * @return {Promise} Promise to be fulfilled with on success. 9 * @return {Promise} Promise to be fulfilled with on success.
10 */ 10 */
11 testcase.checkInitialElements = function() { 11 testcase.checkInitialElements = function() {
12 var test = openSingleVideo('local', 'downloads', ENTRIES.world); 12 var test = openSingleVideo('local', 'downloads', ENTRIES.world);
13 return test.then(function(args) { 13 return test.then(function(args) {
14 var appId = args[0]; 14 var appId = args[0];
15 var videoPlayer = args[1]; 15 var videoPlayer = args[1];
16 return Promise.all([ 16 return Promise.all([
17 remoteCallVideoPlayer.waitForElement(appId, 'html.i18n-processed'), 17 remoteCallVideoPlayer.waitForElement(appId, 'html[i18n-processed]'),
18 remoteCallVideoPlayer.waitForElement(appId, 'div#video-player'), 18 remoteCallVideoPlayer.waitForElement(appId, 'div#video-player'),
19 remoteCallVideoPlayer.waitForElement( 19 remoteCallVideoPlayer.waitForElement(
20 appId, '#video-container > video'), 20 appId, '#video-container > video'),
21 ]); 21 ]);
22 }); 22 });
23 }; 23 };
OLDNEW
« no previous file with comments | « ui/file_manager/gallery/js/compiled_resources.gyp ('k') | ui/file_manager/video_player/js/compiled_resources.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698