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

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

Issue 2054013002: [MD settings] advanced toggle; add scrollWhenReady (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review nits Created 4 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
« no previous file with comments | « chrome/browser/resources/settings/settings_root_css.html ('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_page_browsertest.js
diff --git a/chrome/test/data/webui/settings/settings_page_browsertest.js b/chrome/test/data/webui/settings/settings_page_browsertest.js
index 676411e6e83ab1adbd4ed27c9fb99393cab45406..f7de861327fabcd1919cfa663e8a4ab3845305b9 100644
--- a/chrome/test/data/webui/settings/settings_page_browsertest.js
+++ b/chrome/test/data/webui/settings/settings_page_browsertest.js
@@ -51,10 +51,8 @@ SettingsPageBrowserTest.prototype = {
assertTrue(!!settingsUi);
var settingsMain = settingsUi.$$('settings-main');
assertTrue(!!settingsMain);
- var pages = settingsMain.$.pageContainer;
- assertTrue(!!pages);
var pageType = 'settings-' + type + '-page';
- var page = pages.querySelector(pageType);
+ var page = settingsMain.$$(pageType);
assertTrue(!!page);
return page;
},
« no previous file with comments | « chrome/browser/resources/settings/settings_root_css.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698