Mocha test failed: history-list supervised-user checkboxes disabled for supervised user
https://chromium-swarm.appspot.com/task?id=41756664231fa610&refresh=10&show_raw=1
https://chromium-swarm.appspot.com/task?id=4174c4535fcdee10&refresh=10&show_raw=1
[ RUN ] MaterialHistorySupervisedUserTest.All
[7912:4632:1128/121830.692:WARNING:chrome_browser_main_win.cc(647)] Command line too long for RegisterApplicationRestart: --cfi-diag=0 --disable-gpu-process-for-dx12-vulkan-info-collection --gtest_also_run_disabled_tests --gtest_filter=MaterialHistorySupervisedUserTest.All --single_process --test-launcher-bot-mode --test-launcher-output="e:\b\swarm_slave\w\ityewdxz\scoped_dir3492_13546\results3492_9521\test_results.xml" --test-launcher-summary-output="e:\b\swarm_slave\w\iocdqgtf\output.json" --user-data-dir="e:\b\swarm_slave\w\ityewdxz\scoped_dir3492_13546\d3492_9777" --disable-offline-auto-reload --enable-blink-features=MojoJSTest --no-first-run --no-default-browser-check --enable-logging=stderr --disable-default-apps --wm-window-animations-disabled --disable-component-update --test-type=browser --force-color-profile=srgb --disable-zero-browsers-open-for-tests --browser-test --ipc-connection-timeout=30 --allow-file-access-from-files --dom-automation --log-gpu-control-list-decisions --disable-backgrounding-occluded-windows --disable-gl-drawing-for-tests --override-use-software-gl-for-tests --force-color-profile=srgb --disable-compositor-ukm-for-tests --enable-features=TestFeatureForBrowserTest1 --disable-features=TestFeatureForBrowserTest2 --disable-gpu-process-for-dx12-vulkan-info-collection --flag-switches-begin --flag-switches-end --file-url-path-alias="/gen=e:\b\swarm_slave\w\ir\out\Release\gen" --restore-last-session about:blank
[7912:7872:1128/121830.866:WARNING:discovery_network_list_win.cc(195)] Failed to open Wlan client handle: 1062
[7912:4632:1128/121831.235:WARNING:CONSOLE(0)] "HTML Imports is deprecated and will be removed in M73, around March 2019. Please use ES modules instead. See https://www.chromestatus.com/features/5144752345317376 for more details.", source: (0)
[7912:4632:1128/121831.440:INFO:CONSOLE(1281)] "Running TestCase MaterialHistorySupervisedUserTest.All", source: file:///E:/b/swarm_slave/w/ir/chrome/test/data/webui/test_api.js (1281)
[7912:4632:1128/121832.101:ERROR:CONSOLE(48)] "Mocha test failed: history-list supervised-user checkboxes disabled for supervised user
TypeError: Cannot read property '$' of undefined
at file:///E:/b/swarm_slave/w/ir/chrome/test/data/webui/md_history/history_supervised_user_test.js:28:37
", source: file:///E:/b/swarm_slave/w/ir/chrome/test/data/webui/mocha_adapter.js (48)
[7912:4632:1128/121832.193:ERROR:web_ui_test_handler.cc(100)] Test Errors: 1/3 tests had failed assertions.
[7912:4632:1128/121832.193:ERROR:web_ui_browser_test.cc(493)] CONDITION FAILURE: encountered javascript console error(s):
[7912:4632:1128/121832.193:ERROR:web_ui_browser_test.cc(495)] JS ERROR: '[7912:4632:1128/121832.101:ERROR:CONSOLE(48)] "Mocha test failed: history-list supervised-user checkboxes disabled for supervised user
TypeError: Cannot read property '$' of undefined
at file:///E:/b/swarm_slave/w/ir/chrome/test/data/webui/md_history/history_supervised_user_test.js:28:37
", source: file:///E:/b/swarm_slave/w/ir/chrome/test/data/webui/mocha_adapter.js (48)
'
[7912:4632:1128/121832.193:ERROR:web_ui_browser_test.cc(497)] JS call assumed failed, because JS console error(s) found.
gen/chrome/test/data/webui/md_history/md_history_browsertest-gen.cc(344): error: Value of: RunJavascriptTestF( true, "MaterialHistorySupervisedUserTest", "All")
Actual: false
Expected: true
Stack trace:
Backtrace:
StackTraceGetter::CurrentStackTrace [0x01B09958+40]
testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop [0x01B10E85+69]
testing::internal::AssertHelper::operator= [0x01B10AF0+48]
MaterialHistorySupervisedUserTest_All_Test::RunTestOnMainThread [0x019BE5AB+651]
content::BrowserTestBase::ProxyRunTestOnMainThreadLoop [0x036F6564+372]
ChromeBrowserMainParts::PreMainMessageLoopRunImpl [0x042EEF89+3855]
ChromeBrowserMainParts::PreMainMessageLoopRun [0x042EDFBF+127]
content::BrowserMainLoop::PreMainMessageLoopRun [0x02426493+51]
content::StartupTaskRunner::RunAllTasksNow [0x026E2F58+36]
content::BrowserMainLoop::CreateStartupTasks [0x024253B1+551]
content::BrowserMainRunnerImpl::Initialize [0x02428458+88]
content::BrowserMain [0x02423AFE+126]
content::RunBrowserProcessMain [0x0334163C+84]
content::ContentMainRunnerImpl::RunServiceManager [0x03341D96+174]
content::ContentMainRunnerImpl::Run [0x03341CC7+215]
content::ContentServiceManagerMainDelegate::RunEmbedderProcess [0x03341303+19]
service_manager::Main [0x03D927EA+354]
content::ContentMain [0x0334158F+51]
content::BrowserTestBase::SetUp [0x036F6305+1573]
[7912:4632:1128/121836.467:WARNING:pref_notifier_impl.cc(23)] Pref observer found at shutdown.
[7912:4632:1128/121836.468:WARNING:pref_notifier_impl.cc(23)] Pref observer found at shutdown.
[ FAILED ] MaterialHistorySupervisedUserTest.All, where TypeParam = and GetParam() = (5893 ms)
[438/737] MaterialHistorySupervisedUserTest.All (6120 ms)
Comment 1 by benhenry@google.com
, Jan 11