Skip to content

Commit

Permalink
Rebase tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Fishbowler committed Dec 31, 2024
1 parent a2aab8e commit 2dff691
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions maestro-client/src/main/java/maestro/drivers/IOSDriver.kt
Original file line number Diff line number Diff line change
Expand Up @@ -432,8 +432,8 @@ class IOSDriver(
}

override fun setOrientation(orientation: DeviceOrientation) {
runDeviceCall {
iosDevice.setOrientation(orientation.camelCaseName)
metrics.measured("operation", mapOf("command" to "setOrientation")) {
runDeviceCall("setOrientation") { iosDevice.setOrientation(orientation.camelCaseName) }
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ import maestro.orchestra.ScrollCommand
import maestro.orchestra.ScrollUntilVisibleCommand
import maestro.orchestra.SetAirplaneModeCommand
import maestro.orchestra.SetLocationCommand
import maestro.orchestra.SetOrientationCommand
import maestro.orchestra.StartRecordingCommand
import maestro.orchestra.StopAppCommand
import maestro.orchestra.StopRecordingCommand
Expand Down

0 comments on commit 2dff691

Please sign in to comment.