diff --git a/configuration/src/main/kotlin/com/malinskiy/marathon/config/vendor/apple/ios/XcresultConfiguration.kt b/configuration/src/main/kotlin/com/malinskiy/marathon/config/vendor/apple/ios/XcresultConfiguration.kt index f889e0e21..a3dc756b3 100644 --- a/configuration/src/main/kotlin/com/malinskiy/marathon/config/vendor/apple/ios/XcresultConfiguration.kt +++ b/configuration/src/main/kotlin/com/malinskiy/marathon/config/vendor/apple/ios/XcresultConfiguration.kt @@ -39,8 +39,8 @@ enum class PullingPolicy { } enum class ScreenCaptureFormat { - @JsonProperty("screenshots") SCREENSHOTS, - @JsonProperty("screenRecording") SCREEN_RECORDING; + @JsonProperty("SCREENSHOTS") SCREENSHOTS, + @JsonProperty("SCREEN_RECORDING") SCREEN_RECORDING; fun xcodevalue() = when(this) { SCREENSHOTS -> "screenshots" diff --git a/sample/ios-app/Marathonfile-uiTests b/sample/ios-app/Marathonfile-uiTests index fa1828365..7f9ecff9e 100644 --- a/sample/ios-app/Marathonfile-uiTests +++ b/sample/ios-app/Marathonfile-uiTests @@ -26,8 +26,11 @@ vendorConfiguration: username: malinskiy key: ${HOME}/.ssh/marathon knownHostsPath: ${HOME}/.ssh/known_hosts + # Temporary fix for https://github.com/hierynomus/sshj/pull/934 + keepAliveInterval: "PT0H0M0S" xcresult: - pullingStrategy: ALWAYS + pullingPolicy: ALWAYS remoteClean: true + preferredScreenCaptureFormat: SCREENSHOTS lifecycle: onPrepare: []