Skip to content

Commit 2d8d0df

Browse files
suspenseVNorseGaud
authored andcommitted
Fix test desc
1 parent b84b142 commit 2d8d0df

File tree

1 file changed

+3
-0
lines changed
  • maestro-orchestra-models/src/main/java/maestro/orchestra

1 file changed

+3
-0
lines changed

maestro-orchestra-models/src/main/java/maestro/orchestra/Commands.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ data class SwipeCommand(
7676
startRelative != null && endRelative != null -> {
7777
"Swipe from ($startRelative) to ($endRelative) in $duration ms"
7878
}
79+
elementSelector != null && (endPoint != null || endRelative != null) -> {
80+
"Swiping from ${elementSelector.description()} to ${endPoint ?: endRelative} coordinates"
81+
}
7982
else -> "Invalid input to swipe command"
8083
}
8184
}

0 commit comments

Comments
 (0)