Commit c5a63d75 authored by John Lee's avatar John Lee Committed by Commit Bot

Settings WebUI: Update test to not depend on screen size

Change-Id: Ifafd8ad395939011ce9d48e39d04a8d3fcda90cb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1610849Reviewed-by: default avatarDemetrios Papadopoulos <dpapad@chromium.org>
Commit-Queue: John Lee <johntlee@chromium.org>
Cr-Commit-Position: refs/heads/master@{#659274}
parent ae792bea
......@@ -48,8 +48,12 @@ TEST_F('SettingsUIBrowserTest', 'MAYBE_All', function() {
Polymer.dom.flush();
});
test('showing menu in toolbar', function() {
test('showing menu in toolbar is dependent on narrow mode', function() {
toolbar = assert(ui.$$('cr-toolbar'));
toolbar.narrow = true;
assertTrue(toolbar.showMenu);
toolbar.narrow = false;
assertFalse(toolbar.showMenu);
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment