I think it's better if you do "scrollTop = scrollHeight" here, then wait for the scroll event to come, like in a following test.

In my opinion, `isScrolledManually` is an internal var and we should not get/set it from the tests