Closed Bug 1387452 Opened 7 years ago Closed 7 years ago

Remove test that expects click point to be at the element’s centre point

Categories

(Remote Protocol :: Marionette, enhancement)

Version 3
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1359043

People

(Reporter: ato, Assigned: ato)

References

Details

The
test_should_scroll_elements_if_click_point_is_out_of_view_but_element_is_in_view
test in TestClickScrolling is wrong because it assumes the click
point to be at the element’s centre point.

The WebDriver conforming Element Click implementations expects the
click point to be the _in-view_ centre point, and in preparation of
moving to this implementation, we want to drop this test.

This means that if parts of the element is rendered outside the
viewport, the click point is calculated from visible portion of the
element that is seen in the viewport.
Assignee: nobody → ato
Blocks: 1321516
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.