| 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 8e1b2d90ffd8a434b6b1933a540d1ac01f8df165..0286fa3a462f2586aa771f7ed45b985fa296fe3d 100644
|
| --- a/chrome/test/data/webui/settings/basic_page_browsertest.js
|
| +++ b/chrome/test/data/webui/settings/basic_page_browsertest.js
|
| @@ -127,6 +127,14 @@ TEST_F('SettingsBasicPageBrowserTest', 'MAYBE_Load', function() {
|
| }).then(function() {
|
| // Should be at the top of the page after going Back from the section.
|
| assertEquals(0, page.scroller.scrollTop);
|
| +
|
| + return new Promise(function(resolve) {
|
| + listenOnce(window, 'popstate', resolve);
|
| + window.history.forward();
|
| + });
|
| + }).then(function() {
|
| + // Should scroll when navigating forwards from the BASIC page.
|
| + assertNotEquals(0, page.scroller.scrollTop);
|
| });
|
| });
|
|
|
|
|