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

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

Issue 2375223002: md-settings: Fix back navigation from /resetProfileSettings. (Closed)
Patch Set: Updated tests. Created 4 years, 2 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
11 GEN_INCLUDE( 11 GEN_INCLUDE(
12 [ROOT_PATH + 'chrome/test/data/webui/polymer_browser_test_base.js']); 12 [ROOT_PATH + 'chrome/test/data/webui/polymer_browser_test_base.js']);
13 GEN('#include "base/command_line.h"'); 13 GEN('#include "base/command_line.h"');
14 GEN('#include "chrome/test/data/webui/history_ui_browsertest.h"'); 14 GEN('#include "chrome/test/data/webui/history_ui_browsertest.h"');
15 15
16 function MaterialHistoryBrowserTest() {} 16 function MaterialHistoryBrowserTest() {}
17 17
18 MaterialHistoryBrowserTest.prototype = { 18 MaterialHistoryBrowserTest.prototype = {
19 __proto__: PolymerTest.prototype, 19 __proto__: PolymerTest.prototype,
20 20
21 browsePreload: 'chrome://history', 21 browsePreload: 'chrome://history',
22 22
23 commandLineSwitches: [{switchName: 'enable-features', 23 commandLineSwitches: [{switchName: 'enable-features',
24 switchValue: 'MaterialDesignHistory'}], 24 switchValue: 'MaterialDesignHistory'}],
25 25
26 /** @override */ 26 /** @override */
27 runAccessibilityChecks: false, 27 runAccessibilityChecks: false,
28 28
29 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([ 29 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([
30 '../test_util.js',
30 'test_util.js', 31 'test_util.js',
31 'browser_service_test.js', 32 'browser_service_test.js',
32 'history_drawer_test.js', 33 'history_drawer_test.js',
33 'history_grouped_list_test.js', 34 'history_grouped_list_test.js',
34 'history_item_test.js', 35 'history_item_test.js',
35 'history_list_test.js', 36 'history_list_test.js',
36 'history_metrics_test.js', 37 'history_metrics_test.js',
37 'history_overflow_menu_test.js', 38 'history_overflow_menu_test.js',
38 'history_routing_test.js', 39 'history_routing_test.js',
39 'history_supervised_user_test.js', 40 'history_supervised_user_test.js',
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 }); 156 });
156 }); 157 });
157 }, 158 },
158 }; 159 };
159 160
160 TEST_F('MaterialHistoryWithQueryParamTest', 'RoutingTestWithQueryParam', 161 TEST_F('MaterialHistoryWithQueryParamTest', 'RoutingTestWithQueryParam',
161 function() { 162 function() {
162 md_history.history_routing_test_with_query_param.registerTests(); 163 md_history.history_routing_test_with_query_param.registerTests();
163 mocha.run(); 164 mocha.run();
164 }); 165 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698