refactor: move action options to pkg/uixt/options/action

This commit is contained in:
lilong.129
2025-02-06 16:42:16 +08:00
parent f1ef161377
commit 0accec04a9
43 changed files with 982 additions and 911 deletions

View File

@@ -79,7 +79,8 @@ func TestDoubleTap(t *testing.T) {
func TestLongPress(t *testing.T) {
setupStubDriver(t)
err := androidStubDriver.Swipe(1036, 1076, 1036, 1076, WithDuration(3))
err := androidStubDriver.Swipe(1036, 1076, 1036, 1076,
options.WithDuration(3))
if err != nil {
t.Fatal(err)
}