Skip to content

fix: first Screenshot taken in the app is sometimes black #1638

fix: first Screenshot taken in the app is sometimes black

fix: first Screenshot taken in the app is sometimes black #1638

GitHub Actions / Unit Test Results failed Nov 21, 2023 in 0s

4 fail, 30 skipped, 1 824 pass in 11s

   342 files     342 suites   11s ⏱️
1 858 tests 1 824 ✔️ 30 💤 4

Results for commit a7a9632.

Annotations

Check warning on line 0 in com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

givenSSCensoringDisabledAndTeamSelfDeletingFailure_whenInvoking_thenShouldReturnEnabledEnforcedByTeamSelfDeletingSettings[iosX64] (com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest) failed

logic/build/test-results/iosX64Test/TEST-com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest.xml
Raw output
kotlin.AssertionError: Expected value to be true.
	at kotlin.Error#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:14)
	at kotlin.AssertionError#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:132)
	at kotlin.test.DefaultAsserter#fail(/opt/buildAgent/work/f43969c6214a19e7/kotlin/libraries/kotlin.test/common/src/main/kotlin/kotlin/test/DefaultAsserter.kt:16)
	at kotlin.test.Asserter#assertTrue(/opt/buildAgent/work/f43969c6214a19e7/kotlin/libraries/kotlin.test/common/src/main/kotlin/kotlin/test/Assertions.kt:652)
	at kotlin.test.Asserter#assertTrue(/opt/buildAgent/work/f43969c6214a19e7/kotlin/libraries/kotlin.test/common/src/main/kotlin/kotlin/test/Assertions.kt:662)
	at kotlin.test#assertTrue(/opt/buildAgent/work/f43969c6214a19e7/kotlin/libraries/kotlin.test/common/src/main/kotlin/kotlin/test/Assertions.kt:44)
	at com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest.$runTestWithParametersAndExpectedResult$lambda$1$lambda$0COROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/user/screeenshotCensoring/ObserveScreenshotCensoringConfigUseCaseTest.kt:59)
	at com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest.runTestWithParametersAndExpectedResult$lambda$1$lambda$0#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/user/screeenshotCensoring/ObserveScreenshotCensoringConfigUseCaseTest.kt:57)
	at com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest.$runTestWithParametersAndExpectedResult$lambda$1$lambda$0$FUNCTION_REFERENCE$5.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/user/screeenshotCensoring/ObserveScreenshotCensoringConfigUseCaseTest.kt:57)
	at app.cash.turbine.$test$lambda$4COROUTINE$1.invokeSuspend#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:149)
	at app.cash.turbine.test$lambda$4#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:141)
	at app.cash.turbine.$test$lambda$4$FUNCTION_REFERENCE$1.invoke#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:141)
	at app.cash.turbine.$turbineScope$lambda$2$lambda$1COROUTINE$0.invokeSuspend#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:91)
	at app.cash.turbine.turbineScope$lambda$2$lambda$1#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:88)
	at app.cash.turbine.$turbineScope$lambda$2$lambda$1$FUNCTION_REFERENCE$6.invoke#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:88)
	at kotlinx.coroutines.intrinsics#startUndispatchedOrReturn__at__kotlinx.coroutines.internal.ScopeCoroutine<0:0>(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/intrinsics/Undispatched.kt:78)
	at kotlinx.coroutines#coroutineScope#suspend(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/CoroutineScope.kt:264)
	at app.cash.turbine.turbineScope$lambda$2$lambda$0#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:83)
	at app.cash.turbine.$turbineScope$lambda$2$lambda$0$FUNCTION_REFERENCE$5.invoke#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:81)
	at app.cash.turbine.turbineScope$lambda$2#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:88)
	at app.cash.turbine.$turbineScope$lambda$2$FUNCTION_REFERENCE$0.invoke#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:80)
	at app.cash.turbine.reportTurbines$lambda$0#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/coroutines.kt:89)
	at app.cash.turbine.$reportTurbines$lambda$0$FUNCTION_REFERENCE$0.invoke#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/coroutines.kt:88)
	at kotlinx.coroutines.intrinsics#startUndispatchedOrReturn__at__kotlinx.coroutines.internal.ScopeCoroutine<0:0>(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/intrinsics/Undispatched.kt:78)
	at kotlinx.coroutines#withContext#suspend(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/Builders.common.kt:167)
	at app.cash.turbine#reportTurbines#suspend(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/coroutines.kt:88)
	at app.cash.turbine#turbineScope#suspend(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:80)
	at app.cash.turbine#turbineScope$default#suspend(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:75)
	at app.cash.turbine#test#suspend__at__kotlinx.coroutines.flow.Flow<0:0>(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:141)
	at app.cash.turbine#test$default#suspend__at__kotlinx.coroutines.flow.Flow<0:0>(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:136)
	at com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest.$runTestWithParametersAndExpectedResult$lambda$1COROUTINE$1.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/user/screeenshotCensoring/ObserveScreenshotCensoringConfigUseCaseTest.kt:57)
	at com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest.runTestWithParametersAndExpectedResult$lambda$1#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/user/screeenshotCensoring/ObserveScreenshotCensoringConfigUseCaseTest.kt:49)
	at com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest.$runTestWithParametersAndExpectedResult$lambda$1$FUNCTION_REFERENCE$0.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/user/screeenshotCensoring/ObserveScreenshotCensoringConfigUseCaseTest.kt:49)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$0COROUTINE$1.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:314)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.test.TestDispatcher#processEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestDispatcher.kt:28)
	at kotlinx.coroutines.test.TestCoroutineScheduler#tryRunNextTaskUnless(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestCoroutineScheduler.kt:103)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2COROUTINE$2.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:320)
	at kotlinx.coroutines.test.runTest$lambda$6$lambda$2#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2$FUNCTION_REFERENCE$12.invoke#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlin.coroutines.intrinsics.object-4.invokeSuspend#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/intrinsics/IntrinsicsNative.kt:254)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.EventLoopImplBase#processNextEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/EventLoop.common.kt:280)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:120)
	at kotlinx.coroutines#runBlocking(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:59)
	at kotlinx.coroutines#runBlocking$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:36)
	at kotlinx.coroutines.test#createTestResult(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/native/src/TestBuilders.kt:13)
	at kotlinx.coroutines.test#runTest__at__kotlinx.coroutines.test.TestScope(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:308)
	at kotlinx.coroutines.test#runTest(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:166)
	at kotlinx.coroutines.test#runTest$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:158)
	at com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest.runTestWithParametersAndExpectedResult#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/user/screeenshotCensoring/ObserveScreenshotCensoringConfigUseCaseTest.kt:49)
	at com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest#givenSSCensoringDisabledAndTeamSelfDeletingFailure_whenInvoking_thenShouldReturnEnabledEnforcedByTeamSelfDeletingSettings(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/user/screeenshotCensoring/ObserveScreenshotCensoringConfigUseCaseTest.kt:93)
	at com.wire.kalium.logic.feature.user.screeenshotCensoring.$ObserveScreenshotCensoringConfigUseCaseTest$test$0.$givenSSCensoringDisabledAndTeamSelfDeletingFailure_whenInvoking_thenShouldReturnEnabledEnforcedByTeamSelfDeletingSettings$FUNCTION_REFERENCE$8.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/user/screeenshotCensoring/ObserveScreenshotCensoringConfigUseCaseTest.kt:92)
	at com.wire.kalium.logic.feature.user.screeenshotCensoring.$ObserveScreenshotCensoringConfigUseCaseTest$test$0.$givenSSCensoringDisabledAndTeamSelfDeletingFailure_whenInvoking_thenShouldReturnEnabledEnforcedByTeamSelfDeletingSettings$FUNCTION_REFERENCE$8.$<bridge-UNNN>invoke(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/user/screeenshotCensoring/ObserveScreenshotCensoringConfigUseCaseTest.kt:92)
	at kotlin.native.internal.test.BaseClassSuite.TestCase#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:92)
	at kotlin.native.internal.test.TestRunner.run#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:248)
	at kotlin.native.internal.test.TestRunner.runIteration#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:274)
	at kotlin.native.internal.test.TestRunner#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:289)
	at kotlin.native.internal.test#testLauncherEntryPoint(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:33)
	at kotlin.native.internal.test#main(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:38)
	at <global>.Konan_start(/Users/runner/.gradle/daemon/8.1/entryPointOwner:1)
	at <global>.Init_and_run_start(Unknown Source)
	at <global>.0x0(Unknown Source)
	at <global>.0x0(Unknown Source)

Check warning on line 0 in com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

givenSSCensoringEnabledAndTeamSelfDeletingFailure_whenInvoking_thenShouldReturnEnabledEnforcedByTeamSelfDeletingSettings[iosX64] (com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest) failed

logic/build/test-results/iosX64Test/TEST-com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest.xml
Raw output
kotlin.AssertionError: Expected value to be true.
	at kotlin.Error#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:14)
	at kotlin.AssertionError#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:132)
	at kotlin.test.DefaultAsserter#fail(/opt/buildAgent/work/f43969c6214a19e7/kotlin/libraries/kotlin.test/common/src/main/kotlin/kotlin/test/DefaultAsserter.kt:16)
	at kotlin.test.Asserter#assertTrue(/opt/buildAgent/work/f43969c6214a19e7/kotlin/libraries/kotlin.test/common/src/main/kotlin/kotlin/test/Assertions.kt:652)
	at kotlin.test.Asserter#assertTrue(/opt/buildAgent/work/f43969c6214a19e7/kotlin/libraries/kotlin.test/common/src/main/kotlin/kotlin/test/Assertions.kt:662)
	at kotlin.test#assertTrue(/opt/buildAgent/work/f43969c6214a19e7/kotlin/libraries/kotlin.test/common/src/main/kotlin/kotlin/test/Assertions.kt:44)
	at com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest.$runTestWithParametersAndExpectedResult$lambda$1$lambda$0COROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/user/screeenshotCensoring/ObserveScreenshotCensoringConfigUseCaseTest.kt:59)
	at com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest.runTestWithParametersAndExpectedResult$lambda$1$lambda$0#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/user/screeenshotCensoring/ObserveScreenshotCensoringConfigUseCaseTest.kt:57)
	at com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest.$runTestWithParametersAndExpectedResult$lambda$1$lambda$0$FUNCTION_REFERENCE$5.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/user/screeenshotCensoring/ObserveScreenshotCensoringConfigUseCaseTest.kt:57)
	at app.cash.turbine.$test$lambda$4COROUTINE$1.invokeSuspend#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:149)
	at app.cash.turbine.test$lambda$4#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:141)
	at app.cash.turbine.$test$lambda$4$FUNCTION_REFERENCE$1.invoke#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:141)
	at app.cash.turbine.$turbineScope$lambda$2$lambda$1COROUTINE$0.invokeSuspend#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:91)
	at app.cash.turbine.turbineScope$lambda$2$lambda$1#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:88)
	at app.cash.turbine.$turbineScope$lambda$2$lambda$1$FUNCTION_REFERENCE$6.invoke#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:88)
	at kotlinx.coroutines.intrinsics#startUndispatchedOrReturn__at__kotlinx.coroutines.internal.ScopeCoroutine<0:0>(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/intrinsics/Undispatched.kt:78)
	at kotlinx.coroutines#coroutineScope#suspend(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/CoroutineScope.kt:264)
	at app.cash.turbine.turbineScope$lambda$2$lambda$0#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:83)
	at app.cash.turbine.$turbineScope$lambda$2$lambda$0$FUNCTION_REFERENCE$5.invoke#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:81)
	at app.cash.turbine.turbineScope$lambda$2#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:88)
	at app.cash.turbine.$turbineScope$lambda$2$FUNCTION_REFERENCE$0.invoke#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:80)
	at app.cash.turbine.reportTurbines$lambda$0#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/coroutines.kt:89)
	at app.cash.turbine.$reportTurbines$lambda$0$FUNCTION_REFERENCE$0.invoke#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/coroutines.kt:88)
	at kotlinx.coroutines.intrinsics#startUndispatchedOrReturn__at__kotlinx.coroutines.internal.ScopeCoroutine<0:0>(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/intrinsics/Undispatched.kt:78)
	at kotlinx.coroutines#withContext#suspend(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/Builders.common.kt:167)
	at app.cash.turbine#reportTurbines#suspend(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/coroutines.kt:88)
	at app.cash.turbine#turbineScope#suspend(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:80)
	at app.cash.turbine#turbineScope$default#suspend(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:75)
	at app.cash.turbine#test#suspend__at__kotlinx.coroutines.flow.Flow<0:0>(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:141)
	at app.cash.turbine#test$default#suspend__at__kotlinx.coroutines.flow.Flow<0:0>(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:136)
	at com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest.$runTestWithParametersAndExpectedResult$lambda$1COROUTINE$1.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/user/screeenshotCensoring/ObserveScreenshotCensoringConfigUseCaseTest.kt:57)
	at com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest.runTestWithParametersAndExpectedResult$lambda$1#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/user/screeenshotCensoring/ObserveScreenshotCensoringConfigUseCaseTest.kt:49)
	at com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest.$runTestWithParametersAndExpectedResult$lambda$1$FUNCTION_REFERENCE$0.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/user/screeenshotCensoring/ObserveScreenshotCensoringConfigUseCaseTest.kt:49)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$0COROUTINE$1.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:314)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.test.TestDispatcher#processEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestDispatcher.kt:28)
	at kotlinx.coroutines.test.TestCoroutineScheduler#tryRunNextTaskUnless(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestCoroutineScheduler.kt:103)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2COROUTINE$2.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:320)
	at kotlinx.coroutines.test.runTest$lambda$6$lambda$2#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2$FUNCTION_REFERENCE$12.invoke#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlin.coroutines.intrinsics.object-4.invokeSuspend#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/intrinsics/IntrinsicsNative.kt:254)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.EventLoopImplBase#processNextEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/EventLoop.common.kt:280)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:120)
	at kotlinx.coroutines#runBlocking(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:59)
	at kotlinx.coroutines#runBlocking$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:36)
	at kotlinx.coroutines.test#createTestResult(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/native/src/TestBuilders.kt:13)
	at kotlinx.coroutines.test#runTest__at__kotlinx.coroutines.test.TestScope(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:308)
	at kotlinx.coroutines.test#runTest(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:166)
	at kotlinx.coroutines.test#runTest$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:158)
	at com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest.runTestWithParametersAndExpectedResult#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/user/screeenshotCensoring/ObserveScreenshotCensoringConfigUseCaseTest.kt:49)
	at com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest#givenSSCensoringEnabledAndTeamSelfDeletingFailure_whenInvoking_thenShouldReturnEnabledEnforcedByTeamSelfDeletingSettings(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/user/screeenshotCensoring/ObserveScreenshotCensoringConfigUseCaseTest.kt:117)
	at com.wire.kalium.logic.feature.user.screeenshotCensoring.$ObserveScreenshotCensoringConfigUseCaseTest$test$0.$givenSSCensoringEnabledAndTeamSelfDeletingFailure_whenInvoking_thenShouldReturnEnabledEnforcedByTeamSelfDeletingSettings$FUNCTION_REFERENCE$11.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/user/screeenshotCensoring/ObserveScreenshotCensoringConfigUseCaseTest.kt:116)
	at com.wire.kalium.logic.feature.user.screeenshotCensoring.$ObserveScreenshotCensoringConfigUseCaseTest$test$0.$givenSSCensoringEnabledAndTeamSelfDeletingFailure_whenInvoking_thenShouldReturnEnabledEnforcedByTeamSelfDeletingSettings$FUNCTION_REFERENCE$11.$<bridge-UNNN>invoke(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/user/screeenshotCensoring/ObserveScreenshotCensoringConfigUseCaseTest.kt:116)
	at kotlin.native.internal.test.BaseClassSuite.TestCase#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:92)
	at kotlin.native.internal.test.TestRunner.run#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:248)
	at kotlin.native.internal.test.TestRunner.runIteration#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:274)
	at kotlin.native.internal.test.TestRunner#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:289)
	at kotlin.native.internal.test#testLauncherEntryPoint(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:33)
	at kotlin.native.internal.test#main(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:38)
	at <global>.Konan_start(/Users/runner/.gradle/daemon/8.1/entryPointOwner:1)
	at <global>.Init_and_run_start(Unknown Source)
	at <global>.0x0(Unknown Source)
	at <global>.0x0(Unknown Source)

Check warning on line 0 in com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

givenSSCensoringFailureAndTeamSelfDeletingNotEnforced_whenInvoking_thenShouldReturnEnabledChosenByUser[iosX64] (com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest) failed

logic/build/test-results/iosX64Test/TEST-com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest.xml
Raw output
kotlin.AssertionError: Expected value to be true.
	at kotlin.Error#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:14)
	at kotlin.AssertionError#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:132)
	at kotlin.test.DefaultAsserter#fail(/opt/buildAgent/work/f43969c6214a19e7/kotlin/libraries/kotlin.test/common/src/main/kotlin/kotlin/test/DefaultAsserter.kt:16)
	at kotlin.test.Asserter#assertTrue(/opt/buildAgent/work/f43969c6214a19e7/kotlin/libraries/kotlin.test/common/src/main/kotlin/kotlin/test/Assertions.kt:652)
	at kotlin.test.Asserter#assertTrue(/opt/buildAgent/work/f43969c6214a19e7/kotlin/libraries/kotlin.test/common/src/main/kotlin/kotlin/test/Assertions.kt:662)
	at kotlin.test#assertTrue(/opt/buildAgent/work/f43969c6214a19e7/kotlin/libraries/kotlin.test/common/src/main/kotlin/kotlin/test/Assertions.kt:44)
	at com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest.$runTestWithParametersAndExpectedResult$lambda$1$lambda$0COROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/user/screeenshotCensoring/ObserveScreenshotCensoringConfigUseCaseTest.kt:59)
	at com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest.runTestWithParametersAndExpectedResult$lambda$1$lambda$0#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/user/screeenshotCensoring/ObserveScreenshotCensoringConfigUseCaseTest.kt:57)
	at com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest.$runTestWithParametersAndExpectedResult$lambda$1$lambda$0$FUNCTION_REFERENCE$5.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/user/screeenshotCensoring/ObserveScreenshotCensoringConfigUseCaseTest.kt:57)
	at app.cash.turbine.$test$lambda$4COROUTINE$1.invokeSuspend#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:149)
	at app.cash.turbine.test$lambda$4#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:141)
	at app.cash.turbine.$test$lambda$4$FUNCTION_REFERENCE$1.invoke#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:141)
	at app.cash.turbine.$turbineScope$lambda$2$lambda$1COROUTINE$0.invokeSuspend#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:91)
	at app.cash.turbine.turbineScope$lambda$2$lambda$1#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:88)
	at app.cash.turbine.$turbineScope$lambda$2$lambda$1$FUNCTION_REFERENCE$6.invoke#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:88)
	at kotlinx.coroutines.intrinsics#startUndispatchedOrReturn__at__kotlinx.coroutines.internal.ScopeCoroutine<0:0>(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/intrinsics/Undispatched.kt:78)
	at kotlinx.coroutines#coroutineScope#suspend(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/CoroutineScope.kt:264)
	at app.cash.turbine.turbineScope$lambda$2$lambda$0#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:83)
	at app.cash.turbine.$turbineScope$lambda$2$lambda$0$FUNCTION_REFERENCE$5.invoke#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:81)
	at app.cash.turbine.turbineScope$lambda$2#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:88)
	at app.cash.turbine.$turbineScope$lambda$2$FUNCTION_REFERENCE$0.invoke#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:80)
	at app.cash.turbine.reportTurbines$lambda$0#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/coroutines.kt:89)
	at app.cash.turbine.$reportTurbines$lambda$0$FUNCTION_REFERENCE$0.invoke#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/coroutines.kt:88)
	at kotlinx.coroutines.intrinsics#startUndispatchedOrReturn__at__kotlinx.coroutines.internal.ScopeCoroutine<0:0>(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/intrinsics/Undispatched.kt:78)
	at kotlinx.coroutines#withContext#suspend(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/Builders.common.kt:167)
	at app.cash.turbine#reportTurbines#suspend(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/coroutines.kt:88)
	at app.cash.turbine#turbineScope#suspend(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:80)
	at app.cash.turbine#turbineScope$default#suspend(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:75)
	at app.cash.turbine#test#suspend__at__kotlinx.coroutines.flow.Flow<0:0>(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:141)
	at app.cash.turbine#test$default#suspend__at__kotlinx.coroutines.flow.Flow<0:0>(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:136)
	at com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest.$runTestWithParametersAndExpectedResult$lambda$1COROUTINE$1.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/user/screeenshotCensoring/ObserveScreenshotCensoringConfigUseCaseTest.kt:57)
	at com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest.runTestWithParametersAndExpectedResult$lambda$1#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/user/screeenshotCensoring/ObserveScreenshotCensoringConfigUseCaseTest.kt:49)
	at com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest.$runTestWithParametersAndExpectedResult$lambda$1$FUNCTION_REFERENCE$0.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/user/screeenshotCensoring/ObserveScreenshotCensoringConfigUseCaseTest.kt:49)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$0COROUTINE$1.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:314)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.test.TestDispatcher#processEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestDispatcher.kt:28)
	at kotlinx.coroutines.test.TestCoroutineScheduler#tryRunNextTaskUnless(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestCoroutineScheduler.kt:103)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2COROUTINE$2.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:320)
	at kotlinx.coroutines.test.runTest$lambda$6$lambda$2#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2$FUNCTION_REFERENCE$12.invoke#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlin.coroutines.intrinsics.object-4.invokeSuspend#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/intrinsics/IntrinsicsNative.kt:254)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.EventLoopImplBase#processNextEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/EventLoop.common.kt:280)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:120)
	at kotlinx.coroutines#runBlocking(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:59)
	at kotlinx.coroutines#runBlocking$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:36)
	at kotlinx.coroutines.test#createTestResult(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/native/src/TestBuilders.kt:13)
	at kotlinx.coroutines.test#runTest__at__kotlinx.coroutines.test.TestScope(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:308)
	at kotlinx.coroutines.test#runTest(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:166)
	at kotlinx.coroutines.test#runTest$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:158)
	at com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest.runTestWithParametersAndExpectedResult#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/user/screeenshotCensoring/ObserveScreenshotCensoringConfigUseCaseTest.kt:49)
	at com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest#givenSSCensoringFailureAndTeamSelfDeletingNotEnforced_whenInvoking_thenShouldReturnEnabledChosenByUser(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/user/screeenshotCensoring/ObserveScreenshotCensoringConfigUseCaseTest.kt:125)
	at com.wire.kalium.logic.feature.user.screeenshotCensoring.$ObserveScreenshotCensoringConfigUseCaseTest$test$0.$givenSSCensoringFailureAndTeamSelfDeletingNotEnforced_whenInvoking_thenShouldReturnEnabledChosenByUser$FUNCTION_REFERENCE$12.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/user/screeenshotCensoring/ObserveScreenshotCensoringConfigUseCaseTest.kt:124)
	at com.wire.kalium.logic.feature.user.screeenshotCensoring.$ObserveScreenshotCensoringConfigUseCaseTest$test$0.$givenSSCensoringFailureAndTeamSelfDeletingNotEnforced_whenInvoking_thenShouldReturnEnabledChosenByUser$FUNCTION_REFERENCE$12.$<bridge-UNNN>invoke(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/user/screeenshotCensoring/ObserveScreenshotCensoringConfigUseCaseTest.kt:124)
	at kotlin.native.internal.test.BaseClassSuite.TestCase#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:92)
	at kotlin.native.internal.test.TestRunner.run#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:248)
	at kotlin.native.internal.test.TestRunner.runIteration#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:274)
	at kotlin.native.internal.test.TestRunner#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:289)
	at kotlin.native.internal.test#testLauncherEntryPoint(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:33)
	at kotlin.native.internal.test#main(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:38)
	at <global>.Konan_start(/Users/runner/.gradle/daemon/8.1/entryPointOwner:1)
	at <global>.Init_and_run_start(Unknown Source)
	at <global>.0x0(Unknown Source)
	at <global>.0x0(Unknown Source)

Check warning on line 0 in com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

givenSSCensoringFailureAndTeamSelfDeletingFailure_whenInvoking_thenShouldReturnEnabledEnforcedByTeamSelfDeletingSettings[iosX64] (com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest) failed

logic/build/test-results/iosX64Test/TEST-com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest.xml
Raw output
kotlin.AssertionError: Expected value to be true.
	at kotlin.Error#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:14)
	at kotlin.AssertionError#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:132)
	at kotlin.test.DefaultAsserter#fail(/opt/buildAgent/work/f43969c6214a19e7/kotlin/libraries/kotlin.test/common/src/main/kotlin/kotlin/test/DefaultAsserter.kt:16)
	at kotlin.test.Asserter#assertTrue(/opt/buildAgent/work/f43969c6214a19e7/kotlin/libraries/kotlin.test/common/src/main/kotlin/kotlin/test/Assertions.kt:652)
	at kotlin.test.Asserter#assertTrue(/opt/buildAgent/work/f43969c6214a19e7/kotlin/libraries/kotlin.test/common/src/main/kotlin/kotlin/test/Assertions.kt:662)
	at kotlin.test#assertTrue(/opt/buildAgent/work/f43969c6214a19e7/kotlin/libraries/kotlin.test/common/src/main/kotlin/kotlin/test/Assertions.kt:44)
	at com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest.$runTestWithParametersAndExpectedResult$lambda$1$lambda$0COROUTINE$0.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/user/screeenshotCensoring/ObserveScreenshotCensoringConfigUseCaseTest.kt:59)
	at com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest.runTestWithParametersAndExpectedResult$lambda$1$lambda$0#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/user/screeenshotCensoring/ObserveScreenshotCensoringConfigUseCaseTest.kt:57)
	at com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest.$runTestWithParametersAndExpectedResult$lambda$1$lambda$0$FUNCTION_REFERENCE$5.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/user/screeenshotCensoring/ObserveScreenshotCensoringConfigUseCaseTest.kt:57)
	at app.cash.turbine.$test$lambda$4COROUTINE$1.invokeSuspend#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:149)
	at app.cash.turbine.test$lambda$4#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:141)
	at app.cash.turbine.$test$lambda$4$FUNCTION_REFERENCE$1.invoke#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:141)
	at app.cash.turbine.$turbineScope$lambda$2$lambda$1COROUTINE$0.invokeSuspend#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:91)
	at app.cash.turbine.turbineScope$lambda$2$lambda$1#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:88)
	at app.cash.turbine.$turbineScope$lambda$2$lambda$1$FUNCTION_REFERENCE$6.invoke#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:88)
	at kotlinx.coroutines.intrinsics#startUndispatchedOrReturn__at__kotlinx.coroutines.internal.ScopeCoroutine<0:0>(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/intrinsics/Undispatched.kt:78)
	at kotlinx.coroutines#coroutineScope#suspend(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/CoroutineScope.kt:264)
	at app.cash.turbine.turbineScope$lambda$2$lambda$0#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:83)
	at app.cash.turbine.$turbineScope$lambda$2$lambda$0$FUNCTION_REFERENCE$5.invoke#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:81)
	at app.cash.turbine.turbineScope$lambda$2#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:88)
	at app.cash.turbine.$turbineScope$lambda$2$FUNCTION_REFERENCE$0.invoke#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:80)
	at app.cash.turbine.reportTurbines$lambda$0#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/coroutines.kt:89)
	at app.cash.turbine.$reportTurbines$lambda$0$FUNCTION_REFERENCE$0.invoke#internal(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/coroutines.kt:88)
	at kotlinx.coroutines.intrinsics#startUndispatchedOrReturn__at__kotlinx.coroutines.internal.ScopeCoroutine<0:0>(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/intrinsics/Undispatched.kt:78)
	at kotlinx.coroutines#withContext#suspend(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/Builders.common.kt:167)
	at app.cash.turbine#reportTurbines#suspend(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/coroutines.kt:88)
	at app.cash.turbine#turbineScope#suspend(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:80)
	at app.cash.turbine#turbineScope$default#suspend(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:75)
	at app.cash.turbine#test#suspend__at__kotlinx.coroutines.flow.Flow<0:0>(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:141)
	at app.cash.turbine#test$default#suspend__at__kotlinx.coroutines.flow.Flow<0:0>(/Users/runner/work/turbine/turbine/src/commonMain/kotlin/app/cash/turbine/flow.kt:136)
	at com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest.$runTestWithParametersAndExpectedResult$lambda$1COROUTINE$1.invokeSuspend#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/user/screeenshotCensoring/ObserveScreenshotCensoringConfigUseCaseTest.kt:57)
	at com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest.runTestWithParametersAndExpectedResult$lambda$1#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/user/screeenshotCensoring/ObserveScreenshotCensoringConfigUseCaseTest.kt:49)
	at com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest.$runTestWithParametersAndExpectedResult$lambda$1$FUNCTION_REFERENCE$0.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/user/screeenshotCensoring/ObserveScreenshotCensoringConfigUseCaseTest.kt:49)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$0COROUTINE$1.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:314)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.test.TestDispatcher#processEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestDispatcher.kt:28)
	at kotlinx.coroutines.test.TestCoroutineScheduler#tryRunNextTaskUnless(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestCoroutineScheduler.kt:103)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2COROUTINE$2.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:320)
	at kotlinx.coroutines.test.runTest$lambda$6$lambda$2#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlinx.coroutines.test.$runTest$lambda$6$lambda$2$FUNCTION_REFERENCE$12.invoke#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:318)
	at kotlin.coroutines.intrinsics.object-4.invokeSuspend#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/intrinsics/IntrinsicsNative.kt:254)
	at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
	at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:108)
	at kotlinx.coroutines.EventLoopImplBase#processNextEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/EventLoop.common.kt:280)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:120)
	at kotlinx.coroutines#runBlocking(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:59)
	at kotlinx.coroutines#runBlocking$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:36)
	at kotlinx.coroutines.test#createTestResult(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/native/src/TestBuilders.kt:13)
	at kotlinx.coroutines.test#runTest__at__kotlinx.coroutines.test.TestScope(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:308)
	at kotlinx.coroutines.test#runTest(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:166)
	at kotlinx.coroutines.test#runTest$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-test/common/src/TestBuilders.kt:158)
	at com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest.runTestWithParametersAndExpectedResult#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/user/screeenshotCensoring/ObserveScreenshotCensoringConfigUseCaseTest.kt:49)
	at com.wire.kalium.logic.feature.user.screeenshotCensoring.ObserveScreenshotCensoringConfigUseCaseTest#givenSSCensoringFailureAndTeamSelfDeletingFailure_whenInvoking_thenShouldReturnEnabledEnforcedByTeamSelfDeletingSettings(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/user/screeenshotCensoring/ObserveScreenshotCensoringConfigUseCaseTest.kt:141)
	at com.wire.kalium.logic.feature.user.screeenshotCensoring.$ObserveScreenshotCensoringConfigUseCaseTest$test$0.$givenSSCensoringFailureAndTeamSelfDeletingFailure_whenInvoking_thenShouldReturnEnabledEnforcedByTeamSelfDeletingSettings$FUNCTION_REFERENCE$14.invoke#internal(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/user/screeenshotCensoring/ObserveScreenshotCensoringConfigUseCaseTest.kt:140)
	at com.wire.kalium.logic.feature.user.screeenshotCensoring.$ObserveScreenshotCensoringConfigUseCaseTest$test$0.$givenSSCensoringFailureAndTeamSelfDeletingFailure_whenInvoking_thenShouldReturnEnabledEnforcedByTeamSelfDeletingSettings$FUNCTION_REFERENCE$14.$<bridge-UNNN>invoke(/Users/runner/work/kalium/kalium/logic/src/commonTest/kotlin/com/wire/kalium/logic/feature/user/screeenshotCensoring/ObserveScreenshotCensoringConfigUseCaseTest.kt:140)
	at kotlin.native.internal.test.BaseClassSuite.TestCase#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:92)
	at kotlin.native.internal.test.TestRunner.run#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:248)
	at kotlin.native.internal.test.TestRunner.runIteration#internal(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:274)
	at kotlin.native.internal.test.TestRunner#run(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:289)
	at kotlin.native.internal.test#testLauncherEntryPoint(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:33)
	at kotlin.native.internal.test#main(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:38)
	at <global>.Konan_start(/Users/runner/.gradle/daemon/8.1/entryPointOwner:1)
	at <global>.Init_and_run_start(Unknown Source)
	at <global>.0x0(Unknown Source)
	at <global>.0x0(Unknown Source)