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

Side by Side Diff: chrome/test/data/webui/settings/cr_settings_interactive_ui_tests.js

Issue 2805363002: MD Settings: Add mechanism to restore focus after subpage exiting. (Closed)
Patch Set: Address @dbeam comments. Created 3 years, 8 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 /** @fileoverview Runs the Polymer Settings interactive UI tests. */ 5 /** @fileoverview Runs the Polymer Settings interactive UI tests. */
6 6
7 /** @const {string} Path to source root. */ 7 /** @const {string} Path to source root. */
8 var ROOT_PATH = '../../../../../'; 8 var ROOT_PATH = '../../../../../';
9 9
10 // Polymer BrowserTest fixture. 10 // Polymer BrowserTest fixture.
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 /** @override */ 58 /** @override */
59 extraLibraries: CrSettingsInteractiveUITest.prototype.extraLibraries.concat([ 59 extraLibraries: CrSettingsInteractiveUITest.prototype.extraLibraries.concat([
60 'focus_row_behavior_test.js', 60 'focus_row_behavior_test.js',
61 ]), 61 ]),
62 }; 62 };
63 63
64 TEST_F('CrSettingsFocusRowBehavior', 'FocusTest', function() { 64 TEST_F('CrSettingsFocusRowBehavior', 'FocusTest', function() {
65 mocha.run(); 65 mocha.run();
66 }); 66 });
67
68
69 /**
70 * @constructor
71 * @extends {CrSettingsInteractiveUITest}
72 */
73 function CrSettingsAnimatedPagesTest() {}
74
75 CrSettingsAnimatedPagesTest.prototype = {
76 __proto__: CrSettingsInteractiveUITest.prototype,
77
78 /** @override */
79 browsePreload:
80 'chrome://md-settings/settings_page/settings_animated_pages.html',
81
82 extraLibraries: CrSettingsInteractiveUITest.prototype.extraLibraries.concat([
83 'settings_animated_pages_test.js',
84 ]),
85 };
86
87 TEST_F('CrSettingsAnimatedPagesTest', 'All', function() {
88 mocha.run()
89 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698