SplitSettings: Port settings main page tests for OS settings page
Ports most of //c/test/data/webui/settings/settings_main_test.js to the OS settings page. Initializes CrOncStrings in the test because the test does not load os_settings_ui.js, but the global must exist for the network page. Adds assertions for CrOncStrings to make this failure more obvious in the future (otherwise the error is just "reading property of undefined" without a useful line number). Bug: 967910 Test: browser_tests Change-Id: Ia86483a2c204d82387a6c771a02075f76acc3681 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1642249Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Commit-Queue: James Cook <jamescook@chromium.org> Cr-Commit-Position: refs/heads/master@{#666308}
Showing
This diff is collapsed.
Please register or sign in to comment