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

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

Issue 2941433002: MD Settings: fix auto-focus on sync page. (Closed)
Patch Set: address feedback; add tests Created 3 years, 6 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 67
68 68
69 /** 69 /**
70 * Test fixture for Sync Page.
71 * @constructor
72 * @extends {CrSettingsInteractiveUITest}
73 */
74 function CrSettingsSyncPageTest() {}
75
76 CrSettingsSyncPageTest.prototype = {
77 __proto__: CrSettingsInteractiveUITest.prototype,
dpapad 2017/06/14 01:02:00 Does the new test have to be an interactive UI tes
78
79 /** @override */
80 browsePreload: 'chrome://md-settings/people_page/sync_page.html',
81
82 /** @override */
83 extraLibraries: CrSettingsInteractiveUITest.prototype.extraLibraries.concat([
84 'settings_sync_page_test.js',
85 ]),
86 };
87
88 TEST_F('CrSettingsSyncPageTest', 'All', function() {
89 mocha.run();
90 });
91
92
93 /**
70 * @constructor 94 * @constructor
71 * @extends {CrSettingsInteractiveUITest} 95 * @extends {CrSettingsInteractiveUITest}
72 */ 96 */
73 function CrSettingsAnimatedPagesTest() {} 97 function CrSettingsAnimatedPagesTest() {}
74 98
75 CrSettingsAnimatedPagesTest.prototype = { 99 CrSettingsAnimatedPagesTest.prototype = {
76 __proto__: CrSettingsInteractiveUITest.prototype, 100 __proto__: CrSettingsInteractiveUITest.prototype,
77 101
78 /** @override */ 102 /** @override */
79 browsePreload: 103 browsePreload:
80 'chrome://md-settings/settings_page/settings_animated_pages.html', 104 'chrome://md-settings/settings_page/settings_animated_pages.html',
81 105
82 extraLibraries: CrSettingsInteractiveUITest.prototype.extraLibraries.concat([ 106 extraLibraries: CrSettingsInteractiveUITest.prototype.extraLibraries.concat([
83 'settings_animated_pages_test.js', 107 'settings_animated_pages_test.js',
84 ]), 108 ]),
85 }; 109 };
86 110
87 TEST_F('CrSettingsAnimatedPagesTest', 'All', function() { 111 TEST_F('CrSettingsAnimatedPagesTest', 'All', function() {
88 mocha.run() 112 mocha.run()
89 }); 113 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698