| Index: chrome/browser/ui/webui/options/browser_options_browsertest.js
|
| diff --git a/chrome/browser/ui/webui/options/browser_options_browsertest.js b/chrome/browser/ui/webui/options/browser_options_browsertest.js
|
| index 4415c04fa92c55a1a0fa693c0f8989c1b0501fc2..b5713f60ca6b113fffd262491b6b8c80d3a7e24b 100644
|
| --- a/chrome/browser/ui/webui/options/browser_options_browsertest.js
|
| +++ b/chrome/browser/ui/webui/options/browser_options_browsertest.js
|
| @@ -117,7 +117,15 @@ AdvancedSettingsWebUITest.prototype = {
|
| browsePreload: 'chrome://settings-frame/autofill',
|
| };
|
|
|
| -TEST_F('AdvancedSettingsWebUITest', 'testAdvancedSettingsShown', function() {
|
| +// TODO(crbug.com/617066) Flakes on Win.
|
| +GEN('#if defined(OS_WIN)');
|
| +GEN('#define MAYBE_testAdvancedSettingsShown ' +
|
| + 'DISABLED_testAdvancedSettingsShown');
|
| +GEN('#else');
|
| +GEN('#define MAYBE_testAdvancedSettingsShown testAdvancedSettingsShown');
|
| +GEN('#endif');
|
| +TEST_F('AdvancedSettingsWebUITest', 'MAYBE_testAdvancedSettingsShown',
|
| + function() {
|
| assertEquals(this.browsePreload, document.location.href);
|
| expectFalse($('advanced-settings').hidden);
|
| });
|
|
|