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

Side by Side Diff: chrome/browser/ui/webui/options/profile_settings_reset_browsertest.js

Issue 2919343005: Remove tests for deprecated Options UI (Closed)
Patch Set: and more 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
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 GEN_INCLUDE(['options_browsertest_base.js']);
6
7 /**
8 * TestFixture for profile settings reset WebUI testing.
9 * @extends {testing.Test}
10 * @constructor
11 */
12 function ProfileSettingsResetWebUITest() {}
13
14 ProfileSettingsResetWebUITest.prototype = {
15 __proto__: OptionsBrowsertestBase.prototype,
16
17 /**
18 * Browse to the reset profile settings page.
19 */
20 browsePreload: 'chrome://settings-frame/resetProfileSettings',
21
22 /** @override */
23 setUp: function() {
24 OptionsBrowsertestBase.prototype.setUp.call(this);
25
26 // Enable when failure is resolved.
27 // AX_TEXT_04: http://crbug.com/570551
28 this.accessibilityAuditConfig.ignoreSelectors(
29 'linkWithUnclearPurpose',
30 '#reset-profile-settings-overlay > .action-area > .hbox.stretch > A');
31 },
32 };
33
34 // Test opening the profile settings reset has correct location.
35 TEST_F('ProfileSettingsResetWebUITest', 'testOpenProfileSettingsReset',
36 function() {
37 assertEquals(this.browsePreload, document.location.href);
38 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698