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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/options/profile_settings_reset_browsertest.js
diff --git a/chrome/browser/ui/webui/options/profile_settings_reset_browsertest.js b/chrome/browser/ui/webui/options/profile_settings_reset_browsertest.js
deleted file mode 100644
index 2bd7a053aab785c267288faa4ccb66b6eeb6ff85..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/webui/options/profile_settings_reset_browsertest.js
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-GEN_INCLUDE(['options_browsertest_base.js']);
-
-/**
- * TestFixture for profile settings reset WebUI testing.
- * @extends {testing.Test}
- * @constructor
- */
-function ProfileSettingsResetWebUITest() {}
-
-ProfileSettingsResetWebUITest.prototype = {
- __proto__: OptionsBrowsertestBase.prototype,
-
- /**
- * Browse to the reset profile settings page.
- */
- browsePreload: 'chrome://settings-frame/resetProfileSettings',
-
- /** @override */
- setUp: function() {
- OptionsBrowsertestBase.prototype.setUp.call(this);
-
- // Enable when failure is resolved.
- // AX_TEXT_04: http://crbug.com/570551
- this.accessibilityAuditConfig.ignoreSelectors(
- 'linkWithUnclearPurpose',
- '#reset-profile-settings-overlay > .action-area > .hbox.stretch > A');
- },
-};
-
-// Test opening the profile settings reset has correct location.
-TEST_F('ProfileSettingsResetWebUITest', 'testOpenProfileSettingsReset',
- function() {
- assertEquals(this.browsePreload, document.location.href);
- });

Powered by Google App Engine
This is Rietveld 408576698