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

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

Issue 1707613002: MD Settings: Start device page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments, rebase Created 4 years, 10 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 Suite of tests for the Settings basic page. */ 5 /** @fileoverview Suite of tests for the Settings basic page. */
6 6
7 GEN_INCLUDE(['settings_page_browsertest.js']); 7 GEN_INCLUDE(['settings_page_browsertest.js']);
8 8
9 /** 9 /**
10 * @constructor 10 * @constructor
(...skipping 28 matching lines...) Expand all
39 test('basic pages', function() { 39 test('basic pages', function() {
40 var page = self.getPage('basic'); 40 var page = self.getPage('basic');
41 expectTrue(!!self.getSection(page, 'appearance')); 41 expectTrue(!!self.getSection(page, 'appearance'));
42 expectTrue(!!self.getSection(page, 'onStartup')); 42 expectTrue(!!self.getSection(page, 'onStartup'));
43 expectTrue(!!self.getSection(page, 'people')); 43 expectTrue(!!self.getSection(page, 'people'));
44 expectTrue(!!self.getSection(page, 'search')); 44 expectTrue(!!self.getSection(page, 'search'));
45 if (!cr.isChromeOS) { 45 if (!cr.isChromeOS) {
46 expectTrue(!!self.getSection(page, 'defaultBrowser')); 46 expectTrue(!!self.getSection(page, 'defaultBrowser'));
47 } else { 47 } else {
48 expectTrue(!!self.getSection(page, 'internet')); 48 expectTrue(!!self.getSection(page, 'internet'));
49 expectTrue(!!self.getSection(page, 'device'));
49 } 50 }
50 }); 51 });
51 }); 52 });
52 53
53 // Run all registered tests. 54 // Run all registered tests.
54 mocha.run(); 55 mocha.run();
55 }); 56 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698