Commit d7bcb407 authored by Ionel Popescu's avatar Ionel Popescu Committed by Commit Bot

Updated test expectation for a color picker test.

As part of https://chromium-review.googlesource.com/c/chromium/src/+/2023361,
the default behavior of the color picker was changed to start with the
color selection ring focused.

This CL updates the test results that were incorrectly changed in
that CL.

Bug: 1041708
Change-Id: If8af59e69229d39ff5129c10ead7ed8936339f1e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2028294Reviewed-by: default avatarMason Freed <masonfreed@chromium.org>
Commit-Queue: Ionel Popescu <iopopesc@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#736497}
parent 74463020
This is a testharness.js-based test.
FAIL Color picker: Color values at the bottom edge of the color picker at zoom 150% should be valid numbers. assert_equals: expected Element node <color-selection-ring tabindex="0" style="top: -6px; left... but got Element node <color-selection-ring tabindex="0" style="top: -2.5px; le...
Harness: the test ran to completion.
......@@ -18,7 +18,6 @@ t.step(() => {
const popupDocument = popupWindow.document;
const hexValueContainer = popupDocument.getElementById('hexValueContainer');
assert_equals(hexValueContainer.value, '#80d9ff');
eventSender.keyDown('Tab');
const colorWellSelectionRing = popupDocument.querySelector('color-well > color-selection-ring');
assert_equals(popupDocument.activeElement, colorWellSelectionRing);
for (let i = 0; i < 10; i++) {
......
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