New issue
Advanced search Search tips

Issue 808220 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 1
Type: Bug



Sign in to add a comment

Layout test editing/caret/caret-is-hidden-when-no-focus.html flaky

Project Member Reported by kbr@chromium.org, Feb 1 2018

Issue description

Comment 1 by yosin@chromium.org, Feb 2 2018

Status: WontFix (was: Untriaged)
Mark 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

Sign in to add a comment