From 844101c9434a026262d951fae9971a6ffa3b373c Mon Sep 17 00:00:00 2001 From: Anton Malinskiy Date: Fri, 7 Jul 2023 14:07:28 +1000 Subject: [PATCH] fix(ios): ON_FAILURE screen recording policy should propagate test status to skip successful tests (#814) --- .../ios/executor/listener/video/ScreenRecordingListener.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/vendor-ios/src/main/kotlin/com/malinskiy/marathon/ios/executor/listener/video/ScreenRecordingListener.kt b/vendor/vendor-ios/src/main/kotlin/com/malinskiy/marathon/ios/executor/listener/video/ScreenRecordingListener.kt index 09fe390c5..6a447cfbe 100644 --- a/vendor/vendor-ios/src/main/kotlin/com/malinskiy/marathon/ios/executor/listener/video/ScreenRecordingListener.kt +++ b/vendor/vendor-ios/src/main/kotlin/com/malinskiy/marathon/ios/executor/listener/video/ScreenRecordingListener.kt @@ -95,7 +95,7 @@ class ScreenRecordingListener( stop() } lastRemoteFile = null - pullVideo(test, false) + pullVideo(test, success) } private suspend fun pullVideo(test: Test, success: Boolean) {