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

Unified Diff: chrome/test/data/webui/settings/settings_subpage_browsertest.js

Issue 2655043005: MD Settings: Bluetooth: Move device list to subpage (Closed)
Patch Set: Fix clang, ES6 Created 3 years, 11 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
« no previous file with comments | « chrome/test/data/webui/settings/fake_bluetooth.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webui/settings/settings_subpage_browsertest.js
diff --git a/chrome/test/data/webui/settings/settings_subpage_browsertest.js b/chrome/test/data/webui/settings/settings_subpage_browsertest.js
index 1e0e8041c32cfd0c8de1a24e56434db68c969d8e..5e32e649e720d5a943e7c90fa4946d17ab0429a8 100644
--- a/chrome/test/data/webui/settings/settings_subpage_browsertest.js
+++ b/chrome/test/data/webui/settings/settings_subpage_browsertest.js
@@ -66,13 +66,13 @@ SettingsSubPageBrowserTest.prototype = {
*/
testSubPage: function(page, subPage) {
Polymer.dom.flush();
- expectFalse(!!this.getSection(page, subPage));
+ assertFalse(!!this.getSection(page, subPage));
var startTime = window.performance.now();
page.set('pageVisibility.' + subPage, true);
Polymer.dom.flush();
var dtime = window.performance.now() - startTime;
console.log('Page: ' + subPage + ' Load time: ' + dtime.toFixed(0) + ' ms');
- expectTrue(!!this.getSection(page, subPage));
+ assertTrue(!!this.getSection(page, subPage));
// Hide the page so that it doesn't interfere with other subPages.
page.set('pageVisibility.' + subPage, false);
Polymer.dom.flush();
@@ -98,7 +98,7 @@ function SettingsBasicSubPageBrowserTest() {
'search',
];
if (cr.isChromeOS)
- this.subPages.push('device', 'internet');
+ this.subPages.push('internet', 'bluetooth', 'device');
else
this.subPages.push('defaultBrowser');
}
@@ -128,7 +128,7 @@ function SettingsAdvancedSubPageBrowserTest() {
'reset',
];
if (cr.isChromeOS)
- this.subPages.push('dateTime', 'bluetooth');
+ this.subPages.push('dateTime');
else
this.subPages.push('system');
};
« no previous file with comments | « chrome/test/data/webui/settings/fake_bluetooth.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698