File tree 2 files changed +3
-2
lines changed
maestro-client/src/main/java/maestro/drivers
maestro-orchestra/src/main/java/maestro/orchestra/yaml
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -432,8 +432,8 @@ class IOSDriver(
432
432
}
433
433
434
434
override fun setOrientation (orientation : DeviceOrientation ) {
435
- runDeviceCall {
436
- iosDevice.setOrientation(orientation.camelCaseName)
435
+ metrics.measured( " operation " , mapOf ( " command " to " setOrientation " )) {
436
+ runDeviceCall( " setOrientation " ) { iosDevice.setOrientation(orientation.camelCaseName) }
437
437
}
438
438
}
439
439
Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ import maestro.orchestra.ScrollCommand
57
57
import maestro.orchestra.ScrollUntilVisibleCommand
58
58
import maestro.orchestra.SetAirplaneModeCommand
59
59
import maestro.orchestra.SetLocationCommand
60
+ import maestro.orchestra.SetOrientationCommand
60
61
import maestro.orchestra.StartRecordingCommand
61
62
import maestro.orchestra.StopAppCommand
62
63
import maestro.orchestra.StopRecordingCommand
You can’t perform that action at this time.
0 commit comments