test(sidecar): implement longPress in snapshot test backend

This commit is contained in:
pj committed 2026-05-31 18:03:41 +05:30
1 parent 050246448b
commit ae271b86e0
1 file changed
+1
@@ -62,6 +62,7 @@ class SnapshotHandlerTest {
override fun inputText(text: String) {}
override fun swipe(fromX: Int, fromY: Int, toX: Int, toY: Int, durationMillis: Long) {}
override fun pressKey(key: String) {}
override fun longPress(x: Int, y: Int) {}
override fun screenshot(): Triple<ByteArray, Int, Int> {
callOrder.add("screenshot")
return Triple(byteArrayOf(1), 0, 0)