Layout test editing/caret/caret-is-hidden-when-no-focus.html flaky |
|
Issue descriptionFailure seen here: https://ci.chromium.org/buildbot/tryserver.chromium.linux/linux_chromium_rel_ng/638084 Pixel results were different: https://storage.googleapis.com/chromium-layout-test-archives/linux_chromium_rel_ng/638084/layout-test-results/results.html Marking P1. Tests must be reliable. |
|
►
Sign in to add a comment |
|
Comment 1 by yosin@chromium.org
, Feb 2 2018Mark WontFix becuase this is caused by slowness of test bot. The script itself doesn't use features causes slowness. It just does: - Render HTML - Locate element by using CSS selector - Simulate mouse event The failure in #c1 seems checkbox doesn't have focus but the test expects checkbox to have focus. It seems this is caused by slowness of test bot. Flakiness dashboard[1] has not shown flakiness for this test(yet?), but it runs slow 1 sec to 6 sec. # The script <p>Caret should be hidden when no focus</p> Manual steps: <ol> <li>Click middle of "edit me!" to show caret.</li> <li>Click checkbox.</li> <li>Caret should be hidden.</li> </ol> <div contenteditable="true">edit me!</div> <input type="checkbox"> <script> document.querySelector('div[contenteditable="true"]').focus(); if (window.eventSender) { var checkbox = document.querySelector('input'); eventSender.mouseMoveTo(checkbox.offsetLeft + 5, checkbox.offsetTop + 5); eventSender.mouseDown(); eventSender.mouseUp(); } </script> [1] https://test-results.appspot.com/dashboards/flakiness_dashboard.html#testType=webkit_layout_tests&showExpectations=true&tests=caret-is-hidden-when-no-focus.html