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

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

Issue 2518233004: MD Settings: Move settings-advanced-page into settings-basic-page (Closed)
Patch Set: rebase Created 4 years 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
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 62e9550f6c73e3dd1c535a624dc8c14b419aad02..a1c5ef5426d0656bc5cccf3cf418020abd98521f 100644
--- a/chrome/test/data/webui/settings/settings_page_browsertest.js
+++ b/chrome/test/data/webui/settings/settings_page_browsertest.js
@@ -46,12 +46,12 @@ SettingsPageBrowserTest.prototype = {
toggleAdvanced: function() {
var settingsMain = document.querySelector('* /deep/ settings-main');
assert(!!settingsMain);
- settingsMain.toggleAdvancedPage_();
+ settingsMain.advancedToggleExpanded = !settingsMain.advancedToggleExpanded;
Polymer.dom.flush();
},
/**
- * @param {string} type The settings page type, e.g. 'advanced' or 'basic'.
+ * @param {string} type The settings page type, e.g. 'about' or 'basic'.
* @return {!PolymerElement} The PolymerElement for the page.
*/
getPage: function(type) {
« no previous file with comments | « chrome/test/data/webui/settings/settings_main_test.js ('k') | chrome/test/data/webui/settings/settings_subpage_browsertest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698