Commit f10092d4 authored by Thomas Tangl's avatar Thomas Tangl Committed by Commit Bot

Fix CrSettingsPersonalizationOptionsTest.OfficialBuild tests

The number of settings-toggle-button elements on the
personalization_options.html page changed with
https://chromium-review.googlesource.com/c/chromium/src/+/1145315.

This CL updates the test that checks this number.

Bug: 867410
Change-Id: Ie4cca8a3305b1c8677a4e9a599ec531ff6fcab78
Reviewed-on: https://chromium-review.googlesource.com/1150157Reviewed-by: default avatarNico Weber <thakis@chromium.org>
Commit-Queue: Thomas Tangl <tangltom@chromium.org>
Cr-Commit-Position: refs/heads/master@{#577879}
parent 2b20bc4e
......@@ -89,10 +89,13 @@ cr.define('settings_personalization_options', function() {
testElement.unifiedConsentEnabled = false;
Polymer.dom.flush();
assertEquals(
8,
7,
testElement.root.querySelectorAll('settings-toggle-button').length);
testElement.unifiedConsentEnabled = true;
Polymer.dom.flush();
assertEquals(
8,
testElement.root.querySelectorAll('settings-toggle-button').length);
});
});
}
......
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