Index: chrome/test/data/webui/settings/basic_page_browsertest.js |
diff --git a/chrome/test/data/webui/settings/basic_page_browsertest.js b/chrome/test/data/webui/settings/basic_page_browsertest.js |
index 609c5ca1b49dbf42775decb7e994d6a6e4798d9f..976beddbbd2c063b0da0c62355d5f65699ccb12b 100644 |
--- a/chrome/test/data/webui/settings/basic_page_browsertest.js |
+++ b/chrome/test/data/webui/settings/basic_page_browsertest.js |
@@ -96,7 +96,7 @@ TEST_F('SettingsBasicPageBrowserTest', 'DISABLED_Load', function() { |
test('scroll to section', function() { |
var page = self.basicPage; |
// Setting the page and section will cause a scrollToSection_. |
- settings.navigateTo(settings.Route.ON_STARTUP); |
+ settings.navigateTo(settings.routes.ON_STARTUP); |
return new Promise(function(resolve, reject) { |
// This test checks for a regression that occurred with scrollToSection_ |
@@ -134,12 +134,12 @@ TEST_F('SettingsBasicPageBrowserTest', 'DISABLED_Load', function() { |
var searchManager = new TestSearchManager(); |
settings.setSearchManagerForTesting(searchManager); |
- settings.navigateTo(settings.Route.BASIC, |
+ settings.navigateTo(settings.routes.BASIC, |
new URLSearchParams(`search=foobar`), |
/* removeSearch */ false); |
return searchManager.whenCalled('search').then(function() { |
return new Promise(function(resolve) { |
- settings.navigateTo(settings.Route.ON_STARTUP, |
+ settings.navigateTo(settings.routes.ON_STARTUP, |
/* dynamicParams */ null, |
/* removeSearch */ true); |
@@ -161,10 +161,10 @@ TEST_F('SettingsBasicPageBrowserTest', 'DISABLED_Load', function() { |
// Set the viewport small to force the scrollbar to appear on ABOUT. |
Polymer.dom().querySelector('settings-ui').style.height = '200px'; |
- settings.navigateTo(settings.Route.ON_STARTUP); |
+ settings.navigateTo(settings.routes.ON_STARTUP); |
assertNotEquals(0, page.scroller.scrollTop); |
- settings.navigateTo(settings.Route.ABOUT); |
+ settings.navigateTo(settings.routes.ABOUT); |
assertEquals(0, page.scroller.scrollTop); |
}); |
}); |