superlistapp / super_editor

A Flutter toolkit for building document editors and readers
https://superlist.com/SuperEditor/
MIT License
1.68k stars 246 forks source link

[Infrastructure] - Create a WidgetTester extension to drag scroll bars #1655

Open matthew-carroll opened 11 months ago

matthew-carroll commented 11 months ago

In https://github.com/superlistapp/super_editor/pull/1649 we added a few tests that drag a scroll bar. This requires hovering over the scroll bar, waiting for it to appear, and then dragging and releasing it.

Let's add a tool to flutter_test_robots to coordinate this behavior, then, let's use that tool in super_editor instead of manually implementing that.

PS - Please copy the relevant details from this ticket over to a flutter_test_robots issue.

angelosilvestre commented 2 months ago

I PR is already opened in the test robots repo: https://github.com/Flutter-Bounty-Hunters/flutter_test_robots/pull/23