facebookarchive / huxley

A testing system for catching visual regressions in Web applications.
Apache License 2.0
4.07k stars 286 forks source link

Support for Scrolling Documents #47

Open SimplGy opened 10 years ago

SimplGy commented 10 years ago

I think this tool is awesome, just want to make sure I understand the constraints.

I set up a record that tried to scroll down a page, click an element, and record the ui reaction.

The screenshot is taken full-document-length, which seems good. But the click records x, y relative to the viewport, and no scroll action is ever recorded. The result is that unintended places are clicked during the playback.

Is this a bug, intended feature, or known limitation?

chenglou commented 10 years ago

it's a limitation. Scrolling isn't supported yet afaik.

SimplGy commented 10 years ago

Prolly should be noted in the docs--it's nice to be honest about constraints. :)

chenglou commented 10 years ago

Edit: nvm. Scrolling should be easy to add!