OLD | NEW |
(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 /** |
| 6 * TestFixture for profile settings reset WebUI testing. |
| 7 * @extends {testing.Test} |
| 8 * @constructor |
| 9 **/ |
| 10 function ProfileSettingsResetWebUITest() {} |
| 11 |
| 12 ProfileSettingsResetWebUITest.prototype = { |
| 13 __proto__: testing.Test.prototype, |
| 14 |
| 15 /** |
| 16 * Browse to the reset profile settings page. |
| 17 **/ |
| 18 browsePreload: 'chrome://settings-frame/resetProfileSettings', |
| 19 }; |
| 20 |
| 21 // Test opening the profile settings reset has correct location. |
| 22 TEST_F('ProfileSettingsResetWebUITest', 'testOpenProfileSettingsReset', |
| 23 function() { |
| 24 assertEquals(this.browsePreload, document.location.href); |
| 25 }); |
OLD | NEW |