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

Side by Side Diff: chrome/test/data/webui/md_history/md_history_browsertest.js

Issue 2282403005: MD WebUI: Move history-lazy-render into cr-elements (Closed)
Patch Set: Rebase Created 4 years, 3 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 /** 5 /**
6 * @fileoverview Test suite for the Material Design history page. 6 * @fileoverview Test suite for the Material Design history page.
7 */ 7 */
8 8
9 var ROOT_PATH = '../../../../../'; 9 var ROOT_PATH = '../../../../../';
10 10
(...skipping 21 matching lines...) Expand all
32 'history_drawer_test.js', 32 'history_drawer_test.js',
33 'history_grouped_list_test.js', 33 'history_grouped_list_test.js',
34 'history_item_test.js', 34 'history_item_test.js',
35 'history_list_test.js', 35 'history_list_test.js',
36 'history_metrics_test.js', 36 'history_metrics_test.js',
37 'history_overflow_menu_test.js', 37 'history_overflow_menu_test.js',
38 'history_routing_test.js', 38 'history_routing_test.js',
39 'history_supervised_user_test.js', 39 'history_supervised_user_test.js',
40 'history_synced_tabs_test.js', 40 'history_synced_tabs_test.js',
41 'history_toolbar_test.js', 41 'history_toolbar_test.js',
42 'lazy_render_test.js'
43 ]), 42 ]),
44 43
45 /** @override */ 44 /** @override */
46 setUp: function() { 45 setUp: function() {
47 PolymerTest.prototype.setUp.call(this); 46 PolymerTest.prototype.setUp.call(this);
48 47
49 suiteSetup(function() { 48 suiteSetup(function() {
50 // Wait for the top-level app element to be upgraded. 49 // Wait for the top-level app element to be upgraded.
51 return waitForAppUpgrade().then(function() { 50 return waitForAppUpgrade().then(function() {
52 $('history-app').queryState_.queryingDisabled = true; 51 $('history-app').queryState_.queryingDisabled = true;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 TEST_F('MaterialHistoryBrowserTest', 'HistoryToolbarFocusTest', function() { 92 TEST_F('MaterialHistoryBrowserTest', 'HistoryToolbarFocusTest', function() {
94 md_history.history_toolbar_focus_test.registerTests(); 93 md_history.history_toolbar_focus_test.registerTests();
95 mocha.run(); 94 mocha.run();
96 }); 95 });
97 96
98 TEST_F('MaterialHistoryBrowserTest', 'HistoryOverflowMenuTest', function() { 97 TEST_F('MaterialHistoryBrowserTest', 'HistoryOverflowMenuTest', function() {
99 md_history.history_overflow_menu_test.registerTests(); 98 md_history.history_overflow_menu_test.registerTests();
100 mocha.run(); 99 mocha.run();
101 }); 100 });
102 101
103 TEST_F('MaterialHistoryBrowserTest', 'LazyRenderTest', function() {
104 md_history.lazy_render_test.registerTests();
105 mocha.run();
106 });
107
108 TEST_F('MaterialHistoryBrowserTest', 'RoutingTest', function() { 102 TEST_F('MaterialHistoryBrowserTest', 'RoutingTest', function() {
109 md_history.history_routing_test.registerTests(); 103 md_history.history_routing_test.registerTests();
110 mocha.run(); 104 mocha.run();
111 }); 105 });
112 106
113 TEST_F('MaterialHistoryBrowserTest', 'SyncedTabsTest', function() { 107 TEST_F('MaterialHistoryBrowserTest', 'SyncedTabsTest', function() {
114 md_history.history_synced_tabs_test.registerTests(); 108 md_history.history_synced_tabs_test.registerTests();
115 mocha.run(); 109 mocha.run();
116 }); 110 });
117 111
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 return waitForAppUpgrade(); 152 return waitForAppUpgrade();
159 }); 153 });
160 }, 154 },
161 }; 155 };
162 156
163 TEST_F('MaterialHistoryWithQueryParamTest', 'RoutingTestWithQueryParam', 157 TEST_F('MaterialHistoryWithQueryParamTest', 'RoutingTestWithQueryParam',
164 function() { 158 function() {
165 md_history.history_routing_test_with_query_param.registerTests(); 159 md_history.history_routing_test_with_query_param.registerTests();
166 mocha.run(); 160 mocha.run();
167 }); 161 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698