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

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

Issue 8495025: Mark SearchEngineManagerWebUITest.testOpenSearchEngineManager as flaky. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 /** 5 /**
6 * TestFixture for search engine manager WebUI testing. 6 * TestFixture for search engine manager WebUI testing.
7 * @extends {testing.Test} 7 * @extends {testing.Test}
8 * @constructor 8 * @constructor
9 **/ 9 **/
10 function SearchEngineManagerWebUITest() {} 10 function SearchEngineManagerWebUITest() {}
11 11
12 SearchEngineManagerWebUITest.prototype = { 12 SearchEngineManagerWebUITest.prototype = {
13 __proto__: testing.Test.prototype, 13 __proto__: testing.Test.prototype,
14 14
15 /** 15 /**
16 * Browse to the search engine manager. 16 * Browse to the search engine manager.
17 **/ 17 **/
18 browsePreload: 'chrome://settings/searchEngines', 18 browsePreload: 'chrome://settings/searchEngines',
19 }; 19 };
20 20
21 // See crosbug.com/22673
22 GEN('#if defined(OS_CHROMEOS)');
23 GEN('#define MAYBE_testOpenSearchEngineManager ' +
24 'DISABLED_testOpenSearchEngineManager');
25 GEN('#else');
26 GEN('#define MAYBE_testOpenSearchEngineManager testOpenSearchEngineManager');
27 GEN('#endif // defined(OS_CHROMEOS)');
28
21 // Test opening the search engine manager has correct location. 29 // Test opening the search engine manager has correct location.
22 TEST_F('SearchEngineManagerWebUITest', 'testOpenSearchEngineManager', 30 TEST_F('SearchEngineManagerWebUITest', 'MAYBE_testOpenSearchEngineManager',
23 function() { 31 function() {
24 assertEquals(this.browsePreload, document.location.href); 32 assertEquals(this.browsePreload, document.location.href);
25 }); 33 });
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698