Skip to content

🔀 Resolved conflicts

4a72ae5
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

SDK-199 Auth Retry policy completely bypassed #987

🔀 Resolved conflicts
4a72ae5
Select commit
Loading
Failed to load commit list.
GitHub Actions / Unit Test Results succeeded Dec 17, 2025 in 0s

Tests: 614/614 passed (100.0%) Skipped: 13

Test Results Summary:
• Total Tests: 627
• Passed: 614
• Failed: 0
• Skipped: 13
• Success Rate: 100.0%

Xcode Test Results

Test

TotalPassedFailedSkippedExpected FailuresDuration
6276140130339.48s

Test Environment

DeviceiPhone 16 Pro
OS Version18.6
Architecturearm64

Test Details

unit-tests

APNSTypeCheckerTests

testDev()0.07s
testNoValue()0.00s
testValidProduction()0.00s

ActionRunnerTests

testAllowHttpWhenAllowedProtocolsIsSet()0.00s
testBadDataInIterableAction()0.00s
testCustomAction()0.00s
testCustomActionOverride()0.00s
testDoNotOpenHttpByDefault()1.01s
testOpenHttpsByDefault()0.01s
testUrlHandlingOverride()0.00s
testUrlOpenAction()0.00s

AuthTests

testAsyncAuthTokenRetrieval()0.16s
testAuthTokenCallbackOnSetEmail()16.95s
testAuthTokenCallbackOnSetUserId()0.18s
testAuthTokenChangeWithSameEmail()8.96s
testAuthTokenChangeWithSameUserId()1.90s
testAuthTokenDeletedOnLogout()1.78s
testAuthTokenNotRequestingForAlreadyExistingEmail()1.27s
testAuthTokenRefreshOnInit()0.61s
testAuthTokenRefreshQueued()1.02s
testAuthTokenRefreshRetryOnlyOnce()7.71s
testAuthTokenRefreshSkippedIfUserLoggedOutAfterReschedule()2.12s
testAuthTokenRetrievalFailureReset()1.66s
testDecodeExpirationDate()0.00s
testEmailPersistence()0.40s
testEmailWithTokenPersistence()0.74s
testLoggedOutAuthTokenRequest()1.14s
testLogoutUser()0.52s
testMaxRetryLimitRespectedForScheduledRefresh()1.03s
testNewEmailAndThenChangeToken()0.36s
testNewUserIdAndThenChangeToken()0.43s
testPauseAuthRetriesBlocksScheduledRefresh()2.01s
testPriorAuthFailedRetryPrevention()0.37s
testPriorAuthFailedRetrySuccess()0.07s
testPushRegistrationAfterAuthTokenRetrieval()0.31s
testRefreshTimerQueueRejection()1.47s
testRetryJwtFailureQueuesRequestsUntilNewJwtTokenIsReceived()0.68s
testUpdateEmailAndThenChangeToken()0.58s
testUpdateEmailWithTokenParam()0.41s
testUserIdPersistence()0.14s
testUserIdWithTokenPersistence()0.29s
testUserLoginAndLogout()0.16s

AutoRegistrationTests

testAutomaticPushRegistrationOnInit()0.88s
testCallDisableAndEnable()0.72s
testDoNotCallDisableAndEnableWhenSameValue()1.27s
testDoNotCallDisableOrEnableWhenAutoPushIsOff()1.29s

ClassExtensionsTests

testArrayIsAscending()0.01s
testArrayIsDescending()0.00s
testHexConversion()0.00s
testUIColorInit()0.02s

CombinationComplexCriteria

testComplexCriteria1Failed()0.01s
testComplexCriteria1Success()0.00s
testComplexCriteria2Failed()0.00s
testComplexCriteria2Success()0.00s
testComplexCriteria3Fail()0.00s
testComplexCriteria3Success()0.00s
testComplexCriteria3Success2()0.00s

CombinationLogicEventTypeCriteria

testCompareDataPurchaseAndFailed()0.00s
testCompareDataPurchaseAndSuccess()0.00s
testCompareDataPurchaseCustomEventAndFailed()0.00s
testCompareDataPurchaseCustomEventAndSuccess()0.00s
testCompareDataPurchaseCustomEventNotFailed()0.00s
testCompareDataPurchaseCustomEventNotSuccess()0.00s
testCompareDataPurchaseCustomEventOrFailed()0.04s
testCompareDataPurchaseCustomEventOrSuccess()0.00s
testCompareDataPurchaseNotFailed()0.00s
testCompareDataPurchaseNotSuccess()0.00s
testCompareDataPurchaseOrFailed()0.16s
testCompareDataPurchaseOrSuccess()0.00s
testCompareDataUpdateCartAndFailed()0.00s
testCompareDataUpdateCartAndSuccess()0.00s
testCompareDataUpdateCartNotFailed()0.04s
testCompareDataUpdateCartNotSuccess()0.00s
testCompareDataUpdateCartOrFailed()0.00s
testCompareDataUpdateCartOrSuccess()0.00s
testCompareDataUserAndFailed()0.10s
testCompareDataUserAndSuccess()0.00s
testCompareDataUserNotFailed()0.00s
testCompareDataUserNotSuccess()0.00s
testCompareDataUserOrFailed()0.37s
testCompareDataUserOrSuccess()0.00s

CommerceItemTests

testToDictionaryWithAllFields()0.00s
testToDictionaryWithRequiredFields()0.00s

ComparatorDataTypeWithArrayInput

testMockDataMileStoneYearDoesNotEqualFailure()0.00s
testMockDataMileStoneYearDoesNotEqualSuccess()0.00s
testMockDataMileStoneYearEqualFailure()0.02s
testMockDataMileStoneYearEqualSuccess()0.00s
testMockDataMileStoneYearGreaterThanFailure()0.00s
testMockDataMileStoneYearGreaterThanOrEqualToFailure()0.00s
testMockDataMileStoneYearGreaterThanOrEqualToSuccess()0.02s
testMockDataMileStoneYearGreaterThanSuccess()0.00s
testMockDataMileStoneYearLessThanFailure()0.00s
testMockDataMileStoneYearLessThanOrEqualFailure()0.00s
testMockDataMileStoneYearLessThanOrEqualToSuccess()0.00s
testMockDataMileStoneYearLessThanSuccess()0.00s
testMockDataMockDataForArrayContainsFailure()0.00s
testMockDataMockDataForArrayContainsSuccess()0.00s
testMockDataMockDataForArrayMatchRegexFailure()0.01s
testMockDataMockDataForArrayMatchRegexSuccess()0.00s
testMockDataMockDataForArrayStartWithFailure()0.00s
testMockDataMockDataForArrayStartWithSuccess()0.00s
testMockDataStringArrayDoesNotEqualFailure()0.00s
testMockDataStringArrayDoesNotEqualSuccess()0.00s

ComparatorTypeDoesNotEqualMatchTest

testCompareDataFailedForBool()0.00s
testCompareDataFailedForDouble()0.00s
testCompareDataFailedForLong()0.00s
testCompareDataFailedForString()0.00s
testCompareDataSuccessForBool()0.00s
testCompareDataSuccessForDouble()0.00s
testCompareDataSuccessForLong()0.00s
testCompareDataSuccessForString()0.00s

ConsentTrackingTests

testConsentNoRetryOnSuccess()0.39s
testConsentNotSentWhenAnonActivationDisabled()2.26s
testConsentNotSentWhenAnonUserExists()2.29s
testConsentNotSentWhenNoConsentTimestamp()2.25s
testConsentNotSentWhenNoTracking()2.19s
testConsentRequestIncludesDeviceInfo()0.12s
testConsentRetryFailsAfterTwoAttempts()0.62s
testConsentRetryOnFailure()0.35s
testConsentSentAfterCriteriaMatch()0.11s
testConsentSentOnEmailSetForReplayScenario()0.13s
testConsentSentOnUserIdSetForReplayScenario()0.15s
testConsentTimestampSentInMilliseconds()0.14s
testConsentTrackingErrorHandling()0.12s
testSendPendingConsentSkippedInLoginFlowWhenReplayDisabled()2.26s
testSendPendingConsentSkippedWhenReplayDisabled()2.34s
testSendPendingConsentWhenReplayEnabled()0.29s

CustomEventUserUpdateTestCaseTests

testCompareDataWithCustomEventCriteriaFailed1()0.01s
testCompareDataWithCustomEventCriteriaFailed2()0.00s
testCompareDataWithCustomEventCriteriaFailed3()0.00s
testCompareDataWithCustomEventCriteriaFailed4()0.00s
testCompareDataWithCustomEventCriteriaSuccessCase()0.00s
testMultiLevelNestedFailed1()0.00s
testMultiLevelNestedFailed2()0.00s
testMultiLevelNestedFailed3()0.00s
testMultiLevelNestedFailed4()0.00s
testMultiLevelNestedSuccessCase()0.00s

DataTypeComparatorSearchQueryCriteria

testCompareDataContainFailure()0.00s
testCompareDataDoesNotEqualFailed()0.00s
testCompareDataDoesNotEqualSuccess()0.00s
testCompareDataEqualFailed()0.00s
testCompareDataEqualSuccess()0.00s
testCompareDataGreaterThanFailed()0.00s
testCompareDataGreaterThanOrEqualFailed()0.00s
testCompareDataGreaterThanOrEqualSuccess()0.04s
testCompareDataGreaterThanSuccess()0.00s
testCompareDataIsSetFailure()0.00s
testCompareDataIsSetySuccess()0.00s
testCompareDataLessThanFailed()0.00s
testCompareDataLessThanOrEqualFailed()0.00s
testCompareDataLessThanOrEqualSuccess()0.00s
testCompareDataLessThanSuccess()0.00s
testCompareDataMatchesRegexFailure()0.00s
testCompareDataMatchesRegexSuccess()0.00s
testCompareDataStartWithFailure()0.00s

DeepLinkTests

testHandleUniversalLinkAttributionInfo()0.67s
testHandleUniversalLinkRewrite()0.16s
testNoURLRedirect()0.00s
testTrackUniversalDeepLinkNoRewrite()0.00s
testTrackUniversalDeepLinkRewrite()0.00s

EmbeddedManagerTests

testGetMessagesForPlacement()0.02s
testGetMessagesWhenEmpty()0.00s
testManagerCorrectlyAddsAndRemovesListeners()0.02s
testManagerInitializationAndDeinitialization()0.00s
testManagerNotifiesMultipleDelegates()0.09s
testManagerReset()0.00s
testManagerSingleDelegateUpdated()0.00s
testManagerSyncsOnForeground()0.00s
testSyncMessagesFailedDueToInvalidAPIKey()0.01s
testSyncMessagesSuccessful()0.01s
testUpdateMessagesIsCalled()0.03s

EmbeddedMessagingProcessorTests

testMessageIdsToTrackDelivery()0.00s
testMessageListProcessing()0.00s
testMessageListRemovedMessages()0.00s

InAppFilePersistenceTests

testColorAndShouldAnimatePersistence()0.12s
testCorruptedData()0.01s
testFilePersistence()0.01s
testFilePersisterInitial()0.00s
testPersistBetweenSessions()0.53s
testShouldAnimateWithoutBGColorPersistence()0.01s

InAppHelperTests

testGetInAppMessagesRetriesAfterJWT401()0.09s
testGetInAppMessagesWithErrorGetsConsumed()0.01s
testGetInAppMessagesWithNoError()0.00s
testParseURL()0.00s

InAppMessageProcessorTests

testDoNotCountNewReadMessageAsDelivered()0.01s
testMessagesObtainedShouldOverwriteForReadState()0.00s

InAppNavigationTests

testAllowHttpWhenAllowedProtocolsIsSet()0.43s
testDoNotOpenHttpByDefault()1.19s
testOpenHttpsByDefault()0.19s

InAppParsingTests

testBackgroundColor1()0.01s
testBackgroundColor2()0.00s
testBackgroundColor3()0.00s
testBackgroundColor4()0.00s
testBackgroundColor5()0.00s
testBackgroundColor6()0.00s
testCallbackUrlParsingAppleWebdataScheme1()0.00s
testCallbackUrlParsingAppleWebdataScheme2()0.00s
testCallbackUrlParsingCustomActionScheme()0.00s
testCallbackUrlParsingRegularScheme()0.00s
testCustomPayloadParsing()0.00s
testDoNotShowMultipleTimes()0.01s
testGetPaddingBottom()0.01s
testGetPaddingCenter()0.00s
testGetPaddingFull()0.00s
testGetPaddingInvalid()0.00s
testGetPaddingTop()0.00s
testInAppPayloadParsing()0.00s
testInAppPayloadParsingWithPreprocessing()0.00s
testInAppPayloadWithKnownTrigger()0.00s
testInAppPayloadWithNoTrigger()0.00s
testInAppPayloadWithUnKnownTrigger()0.02s
testNotificationPaddingBottom()0.00s
testNotificationPaddingCenter()0.00s
testNotificationPaddingDefault()0.00s
testNotificationPaddingFull()0.00s
testNotificationPaddingTop()0.00s
testParseShouldAnimate1()0.00s
testParseShouldAnimate2()0.00s
testParseShouldAnimate3()0.02s
testParseShouldAnimate4()0.02s
testParseShouldAnimate5()0.00s
testParseShouldAnimate6()0.00s
testParseShouldAnimate7()0.00s
testTrackInAppClickWithClickedUrl()0.39s
testTrackInAppClose()0.13s
testTrackInAppCloseWithNoSource()0.15s
testTrackInAppDelivery()0.17s
testTrackInAppOpen()0.12s

InAppPersistenceTests

testDefaultTriggerDict()0.00s
testInboxMetadataDecodingEncoding()0.01s
testJsonOnlyMessageCustomPayloadPriority()0.00s
testJsonOnlyMessagePersistence()0.01s
testPersistentReadStateFromServerPayload()0.14s
testUIEdgeInsetsKeysDecodingEncoding()0.00s

InAppPresenterTests

testInAppPresenterDelegateExistence()0.02s
testInAppPresenterIsPresentingOnInit()0.01s
testInAppPresenterShowMethod()2.31s

InAppPriorityTests

testDisplayingCriticalPriorityLevel()0.99s
testDisplayingPriorityLevelsInOrder()3.68s
testGetMessagesWithOutOfOrderPriorityLevels()0.17s
testInAppMessagePriorityPersistence()0.11s
testMessageWithNoPriorityTreatedAsDefaultLevel()0.14s

InAppTests

testAutoDisplayOff()0.19s
testAutoDisplayResumed()0.18s
testAutoShowInAppMultipleOverride()1.15s
testAutoShowInAppMultipleWithOrdering()2.38s
testAutoShowInAppOpenUrlByDefault()0.14s
testAutoShowInAppSingle()0.23s
testAutoShowInAppSingleOverride()1.18s
testAutoShowInAppUrlDelegateOverride()1.12s
testDeleteInServerDeletesInClient()0.13s
testDoNoProcessNonImmediateTriggerTypes()1.11s
testDontShowNewlyArrivedMessageWithinRetryInterval()2.24s
testEmptyInAppManager()0.00s
testExpiration()0.11s
testInAppDelivery()0.15s
testInAppDoNotShowInBackground()1.13s
testInAppRemoveMessagePayload1()0.14s
testInAppRemoveMessagePayload2()0.13s
testInAppRemoveMessagePayload3()0.13s
testInAppShowWhenMovesToForeground()1.15s
testInboxChangedIsCalledWhenInAppIsRemovedInServer()0.12s
testJsonOnlyInAppMessage()0.14s
testJsonOnlyInAppMessageDelegateCallbacks()3.16s
testJsonOnlyInAppMessageParsing()0.13s
testJsonOnlyInAppMessageWithoutCustomPayload()0.12s
testJsonOnlyMessageCannotBeSavedToInbox()0.12s
testJsonOnlyMessageIgnoresContentPayload()0.16s
testJsonOnlyMessageWithEmptyPayload()0.15s
testMoveToForegroundSyncInterval()2.17s
testOnNewNotCalledMultipleTimes()0.19s
testParseSilentPushNotificationParsing()0.01s
testParseSilentPushNotificationParsing2()0.00s
testRemoveIsCalled()0.00s
testRemoveMessages()0.24s
testShowInAppWithConsume()0.16s
testShowInAppWithCustomAction()0.13s
testShowInAppWithCustomAction1()0.15s
testShowInAppWithCustomActionBackwardCompatibility()0.15s
testShowInAppWithIterableCustomActionDelete()1.24s
testShowInAppWithIterableCustomActionDismiss()0.24s
testShowInAppWithNoConsume()0.17s
testSyncIsCalled()0.12s
testSyncIsCalledOnLogin()0.12s

InboxImpressionTrackerTests

testRowInfoHashableEquatable()0.01s
testToIterableInboxImpression()0.00s
testUpdateVisibleRows()1.63s

InboxMessageViewModelTests

testEquatable()0.00s
testHasValidImageUrl()0.00s
testHasher()0.00s
testModel()0.00s

InboxSessionManagerTests

testSessionInfoStartAndEnd()0.00s
testSessionIsTracking()0.02s
testUpdateRowTracking()1.01s

InboxTests

testInboxAndInAppCallbacksTogether()0.26s
testInboxChangedCalledOnInitialization()0.17s
testInboxLogoutClearMessageQueue()1.25s
testInboxNewMessagesCallback()0.19s
testInboxOrdering()0.13s
testReceiveReadMessage()0.14s
testRemove()0.21s
testSetRead()0.19s
testShowInboxMessage()0.21s
testShowNowAndInboxMessage()0.25s

InboxViewControllerViewModelTests

testAscendingSorting()0.02s
testCustomFiltering()0.01s
testDescendingSorting()0.00s
testImageLoadingForExistingImage()1.21s
testImageLoadingForNonExistingImage()5.17s
testNoSortingIsDescending()0.01s
testRowDiff()0.18s
testSampleFilter()0.03s
testSampleSectionMapper()0.01s
testWithNoFiltering()0.01s

IsOneOfInNotOneOfCriteareaTest

testCompareIsNotOneOfFailed()0.00s
testCompareIsNotOneOfSuccess()0.00s
testCompareIsOneOfFailed()0.01s
testCompareIsOneOfSuccess()0.00s
testCompareMockDataCrashTest()0.00s

IterableAPIResponseTests

testAuthInHeader()0.15s
testHeadersInGetRequest()0.13s
testHeadersInPostRequest()0.13s
testNetworkTimeoutResponse()0.24s
testNoNetworkResponse()0.12s
testNon200ResponseCode()0.18s
testResponseCode200()0.12s
testResponseCode200WithInvalidJson()0.11s
testResponseCode200WithNoData()0.12s
testResponseCode400WithMessage()0.12s
testResponseCode400WithoutMessage()0.13s
testResponseCode401()0.11s
testResponseCode500()6.22s
testSendRequestWithRetry()6.22s
testTrackConsentError()0.16s
testTrackConsentNetworkError()0.11s
testTrackConsentRequestFormat()0.12s
testTrackConsentSuccess()0.14s
testTrackConsentWithOnlyTimestamp()0.13s

IterableAPITests

testDisableDeviceForAllUsers()0.12s
testDisableDeviceForAllUsersWithoutCallback()0.13s
testDisableDeviceForCurrentUser()0.12s
testDisableDeviceForCurrentUserWithoutCallback()0.16s
testDisableDeviceNotRegistered()0.12s
testEmailPersistence()0.13s
testGetInAppMessagesFunction()0.31s
testInAppConsume()0.12s
testInitialize()0.11s
testInitializeCheckEndpoint()0.16s
testInitializeWithConfig()0.11s
testInitializeWithDefaultDataRegion()0.11s
testInitializeWithEUDataRegion()0.12s
testInitializeWithLaunchOptionsAndCustomAction()0.15s
testInitializeWithLaunchOptionsAndUrl()0.11s
testInitializeWithNewEndpoint()0.20s
testPurchaseWithoutSuccessAndFailure()0.12s
testRegisterToken()0.14s
testRegisterTokenNilAppName()0.11s
testRegisterTokenNilEmailAndUserId()0.11s
testSetEmailWithCallbackFailure()0.16s
testSetEmailWithCallbackSuccess()0.13s
testSetUserIdWithCallbackFailure()0.15s
testSetUserIdWithCallbackSuccess()0.12s
testSetVisitorUsageTrackedClearsConsentTimestamp()0.11s
testSetVisitorUsageTrackedMultipleCalls()0.14s
testSetVisitorUsageTrackedStoresConsentTimestamp()0.11s
testSetVisitorUsageTrackedStoresTimestampInMilliseconds()0.11s
testTrackEventBadNetwork()6.25s
testTrackEventWithEmail()0.13s
testTrackEventWithEmail2()0.21s
testTrackEventWithNoEmailOrUser()0.11s
testTrackInAppConsumeWithSource()0.15s
testTrackPurchaseNoUserIdOrEmail()0.13s
testTrackPurchaseWithEmail()0.14s
testTrackPurchaseWithUserId()0.19s
testTrackPurchaseWithUserId2()0.12s
testTrackPushOpen()0.14s
testTrackPushOpenWithCallback()0.20s
testTrackPushOpenWithCampaignIdEtc()0.16s
testTrackPushOpenWithCampaignIdEtcWithCallback()0.12s
testTrackPushOpenWithDataFields()0.14s
testUpdateCart()0.13s
testUpdateEmailWithEmail()0.15s
testUpdateEmailWithUserId()0.11s
testUpdateSubscriptions()0.12s
testUpdateUserWithEmail()0.34s
testUpdateUserWithUserId()0.13s
testUpgradeJWTToken()0.24s
testUserIdPersistence()0.12s

IterableApiCriteriaFetchTests

testCriteriaFetchNotCalledWhenDisabled()15.19s
testForegroundCriteriaFetchWhenConditionsMet()5.23s
testForegroundCriteriaFetchWithCooldown()20.28s

IterableDataRegionObjCTests

testIterableDataRegionIsAccessibleFromObjectiveC0.00s

IterableHtmlMessageViewControllerTests

testBottomAnimation()0.00s
testCenterAnimation()0.00s
testFullAnimation()0.00s
testTopAnimation()0.00s
testTrackInAppClick()0.11s
testTrackInAppClose()0.10s
testTrackInAppOpen()0.01s
testWebViewBottomPositioning()0.00s
testWebViewBottomPositioningWithSafeAreaInsets()0.01s
testWebViewCenterPositioning()0.00s
testWebViewFullPositioning()0.00s
testWebViewTopPositioning()0.02s
testWebViewTopPositioningWithSafeAreaInsets()0.00s

IterableInboxViewControllerTests

testInitializers()0.69s

IterableRequestTests

testGetRequestSerialization()0.01s
testGetRequestSerializationWithNilArgs()0.00s
testPostRequestSerialization()0.01s
testPostRequestSerializationWithNilBody()0.00s

IterableRequestUtilTests

testDictToJsonData()0.00s
testGetRequest()0.01s
testGetRequestWithPlusSignInEmail()0.00s
testPostRequest()0.00s

IterableUtilTests

testDifferentGeneralSeparator()0.00s
testDifferentPairSeparator()0.00s
testEmptyDescribe()0.00s
testSingleElementDescribe()0.04s

KeychainWrapperTests

testDelete()0.01s
testRemoveAll()0.01s
testRewrite()0.01s
testSave()0.01s

LocalStorageTests

testAttributionInfo()0.02s
testAuthDataInKeychain()0.01s
testAuthToken()0.01s
testDDLChecked()0.00s
testDeviceId()0.00s
testOfflineMode()0.00s
testSdkVersion()0.00s
testUserIdAndEmail()0.01s
testVisitorConsentTimestamp()0.00s

LoggingTests

testLogging()0.11s

NestedFieldSupportForArrayData

testNestedFieldArrayEventValueFail()0.01s
testNestedFieldArrayUserValueFail()0.00s
testNestedFieldArrayValueEventSuccess()0.00s
testNestedFieldArrayValueUserSuccess()0.00s
testNestedFieldFailed()0.00s
testNestedFieldSuccess()0.00s

NotificationMetadataTests

testDeserializedFromIterableJson()0.00s
testInvalidPayloads()0.00s
testValidGhostPayload()0.00s
testValidProofPayload()0.00s
testValidProofPayloadNoCampaignId()0.00s
testValidRealPayload()0.00s
testValidTestPayload()0.00s

NotificationObserverTests

testNotificationStateChangeUpdatesStorage()0.24s

NotificationResponseTests

testActionButtonDismiss()0.00s
testLegacyDeepLinkPayload()0.00s
testSaveAttributionInfo()0.11s
testTrackOpenPushWithCustomAction()0.00s

OrderedDictionaryTests

testNonExistentKey()0.00s
testOrderedDictCount()0.00s
testOrderedDictDescription()0.00s
testOrderedDictLiteralInit()0.00s
testOrderedDictSubscript()0.00s
testRemoveValue()0.00s

PendingTests

testFlatMap()1.01s
testFlatMapFailure1()1.01s
testFlatMapFailure2()1.01s
testFutureInitWithFailure()1.01s
testFutureInitWithSuccess()1.00s
testMap()1.00s
testMapFailure()1.01s
testMultiValues()0.00s
testWaitUntilFinished()0.41s

RegistrationTests

testRegisterTokenWithAutoPlatformAndNoIntegrationNameChooseProduction()0.15s
testRegisterTokenWithAutoPlatformAndNoIntegrationNameChooseSandbox()0.11s
testRegisterTokenWithAutoPlatformChooseProduction()0.13s
testRegisterTokenWithAutoPlatformChooseSandbox()0.11s
testRegisterTokenWithProductionPlatform()0.12s
testRegisterTokenWithSandboxPlatform()0.11s

RequestCreatorTests

testCreateTrackConsentRequestMinimal()0.00s
testCreateTrackConsentRequestWithBothEmailAndUserId()0.00s
testCreateTrackConsentRequestWithEmail()0.00s
testCreateTrackConsentRequestWithUserId()0.00s
testFaultyTrackInboxSessionRequest()0.00s
testGetInAppMessagesRequest()0.00s
testGetInAppMessagesRequestFailure()0.00s
testProcessorTypeOfflineInHeader()0.00s
testRegisterTokenRequestPrefersUserId()0.01s
testTrackEventRequest()0.00s
testTrackInAppClickRequest()0.00s
testTrackInAppCloseRequest()0.00s
testTrackInAppConsumeRequest()0.00s
testTrackInAppDeliveryRequest()0.00s
testTrackInAppOpenRequest()0.00s
testTrackInboxSession()0.01s
testUpdateSubscriptionsRequest()0.00s
testUserlessTrackInboxSessionRequest()0.01s
testUserlessUpdateSubscriptionsRequest()0.00s
testUserlessUpdateUserRequest()0.00s

UnknownUserComplexCriteriaMatchTests

testCompareDataWithCriteria1Failure()0.00s
testCompareDataWithCriteria1Success()0.00s
testCompareDataWithCriteria2Failure()0.01s
testCompareDataWithCriteria2Success()0.00s
testCompareDataWithCriteria3Failure()0.00s
testCompareDataWithCriteria3Success()0.00s
testCompareDataWithCriteria4Failure()0.00s
testCompareDataWithCriteria4Success()0.00s

UnknownUserCriteriaIsSetTests

testCompareDataIsSetCustomEventFailure()0.00s
testCompareDataIsSetCustomEventSuccess()0.00s
testCompareDataIsSetPurchaseFailure()0.00s
testCompareDataIsSetPurchaseSuccess()0.00s
testCompareDataIsSetUpdateCartFailure()0.00s
testCompareDataIsSetUpdateCartSuccess()0.00s
testCompareDataIsSetUserPropertyFailure()0.00s
testCompareDataIsSetUserPropertySuccess()0.00s

UnknownUserCriteriaMatchTests

testCompareDataWithANDCombinatorFail()0.00s
testCompareDataWithANDCombinatorSuccess()0.00s
testCompareDataWithCustomEventCriteriaFailure()0.00s
testCompareDataWithCustomEventCriteriaSuccess()0.01s
testCompareDataWithMinMatchCriteriaFailure()0.00s
testCompareDataWithMinMatchCriteriaSuccess()0.00s
testCompareDataWithORCombinatorFail()0.00s
testCompareDataWithORCombinatorSuccess()0.00s
testCompareDataWithUpdateCartCriteriaFailure()0.00s
testCompareDataWithUpdateCartCriteriaSuccess()0.00s
testCompareDataWithUserCriteriaFailure()0.00s
testCompareDataWithUserCriteriaSuccess()0.02s

UserMergeScenariosTests

testCriteriaMetEmailDefault()3.16s
testCriteriaMetEmailMergeFalse()3.12s
testCriteriaMetEmailMergeTrue()3.15s
testCriteriaMetTwice()3.19s
testCriteriaMetUserIdDefault()3.21s
testCriteriaMetUserIdMergeFalse()3.18s
testCriteriaMetUserIdMergeTrue()6.19s
testCriteriaNotMetEmailDefault()5.20s
testCriteriaNotMetEmailReplayFalseMergeFalse()5.20s
testCriteriaNotMetEmailReplayFalseMergeTrue()5.22s
testCriteriaNotMetEmailReplayTrueMergeFalse()0.16s
testCriteriaNotMetUserIdDefault()5.22s
testCriteriaNotMetUserIdReplayFalseMergeFalse()5.21s
testCriteriaNotMetUserIdReplayFalseMergeTrue()5.19s
testCriteriaNotMetUserIdReplayTrueMergeFalse()0.14s
testIdentifiedEmailDefault()3.15s
testIdentifiedEmailMergeFalse()3.13s
testIdentifiedEmailMergeTrue()6.25s
testIdentifiedUserIdDefault()3.20s
testIdentifiedUserIdMergeFalse()3.17s
testIdentifiedUserIdMergeTrue()6.23s

ValidateCustomEventUserUpdateAPITest

testCriteriaCustomEventCheck()12.27s

ValidateStoredEventCheckUnknownToKnownUserTest

testCriteriaCustomEventCheck()6.39s

ValidateTokenForDestinationUserTest

testCriteriaEmailTokenCheck()5.23s
testCriteriaUserIdTokenCheck()5.20s

WebViewProtocolTests

testVerifyViewPosition()0.05s
testWebViewHeightCalculationReject()1.36s

ui-tests

Tests

⚠️All tests0.00s

notification-extension-tests

NotificationExtensionTests

testAddActionButtonWithSystemImageIcon()0.13s
testAddActionButtonWithTemplateImageIcon()0.08s
testNilActionButtonIcon()0.07s
testPushButtonWithNoType()0.07s
testPushDestructiveSilentActionButton()0.07s
testPushDynamicCategory()0.08s
testPushImageAttachment()1.03s
testPushIncorrectAttachment()0.02s
testPushTextInputForegroundButton()0.07s
testPushTextInputSilentButton()0.07s
testPushVideoAttachment()0.52s

TestFileTests

testSayHello()0.00s

inbox-ui-tests

Tests

⚠️All tests0.00s

offline-events-tests

HealthMonitorTests

testCountTasksException()0.35s
testNextTaskException()0.14s
testScheduleTaskException()0.15s
testUseOfflineProcessorByDefault()0.20s

NetworkConnectivityCheckerTests

testIsConnected()0.00s
testIsConnectedByDefault()0.43s
testIsNotConnectedIfError()0.10s
testIsNotConnectedIfWrongStatus()0.00s

NetworkConnectivityManagerTests

testConnectivityChange()2.04s
testNetworkMonitor()2.01s
testOfflinePollingInterval()0.51s
testOnlinePollingInterval()0.51s
testPollingNetworkMonitor()4.01s

RequestHandlerTests

testCreatedAtSentAtForOffline()0.21s
testCreatedAtSentAtForOnline()0.09s
testDefaultRemoteConfigurationUsesOnlineMode()0.19s
testDisableUserforAllUsers()0.27s
testDisableUserforCurrentUser()0.25s
testFeatureFlagTurnOnOfflineMode()0.34s
testGetRemoteConfiguration()0.02s
testLoadOfflineModeDisabledFromLocalStorage()0.11s
testLoadOfflineModeEnabledFromLocalStorage()0.23s
testNoRemoteConfigurationUsesOnline()0.14s
testRegister()0.05s
testTrackEvent()0.46s
testTrackInAppClick2()0.24s
testTrackInAppClose()0.15s
testTrackInAppConsume()0.16s
testTrackInAppConsume2()0.13s
testTrackInAppDelivery()0.05s
testTrackInAppOpen2()0.05s
testTrackPurchase()0.08s
testTrackPurchase2()0.04s
testTrackPushOpen()0.15s
testUpdateEmail()0.06s
testUpdateSubscriptions()0.09s
testUpdateUser()0.06s

TaskProcessorTests

testAPICallForTrackEventWithPersistence()0.17s
testCreatedAtInBody()0.01s
testNetworkAvailable()0.01s
testNetworkUnavailable()0.02s
testSentAtInHeader()0.01s
testUnrecoverableError()0.02s

TaskRunnerTests

testDoNotRunWhenNetworkIsOffline()1.03s
testFailureWithNoRetry()1.07s
testFailureWithRetry()1.07s
testForegroundBackgroundChange()1.03s
testMultipleTasksInSequence()1.05s
testResumeWhenNetworkIsBackOnline()2.04s
testSentAtInHeader()0.04s

TasksCRUDTests

testCountTasks()0.01s
testCreate()0.00s
testDelete()0.00s
testFindAll()0.01s
testFindNextTask()0.01s
testUpdate()0.01s

Tests

⚠️TaskSchedulerTests0.00s

Skipped Tests

Test NameDuration
AuthTests/testOnNewAuthTokenCallbackCalled0.00s
AuthTests/testRetryJwtFailure0.00s
HealthMonitorTests/testDeleteAllTasksException0.00s
InAppPresenterTests/testInAppPresenterTimerFinished0.00s
InAppTests/testIgnoreReadMessagesOnProcessing0.00s
InAppTests/testMultipleMesssagesInShortTime0.00s
IterableAPIResponseTests/testRetryOnInvalidJwtPayload0.00s
RequestHandlerTests/testDeleteAllTasksOnLogout0.00s
RequestHandlerTests/testTrackInAppClick0.00s
RequestHandlerTests/testTrackInAppOpen0.00s
RequestHandlerTests/testTrackInboxSession0.00s
TaskRunnerTests/testCreatedAtInBody0.00s
TaskSchedulerTests/testScheduleTask0.00s

Details

Code Coverage Results

Coverage for TestResults.xcresult

Code Coverage

TargetCoverageCoveredExecutable
Total ██████████████░░░░░░ 71.32%1088315259
IterableAppExtensions.framework ████████████████░░░░ 83.28%264317
  ITBNotificationServiceExtension.swift ████████████████░░░░ 80.85%152188
  NotificationContentParser.swift █████████████████░░░ 86.51%109126
  TestFile.swift ████████████████████ 100.00%33
IterableSDK.framework ██████████████░░░░░░ 71.07%1061914942
  AbstractDiffCalculator.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%036
  ActionRunner.swift █████████████████░░░ 87.50%6372
  ApiClient.swift ████████████████░░░░ 81.67%245300
  APNSTypeChecker.swift █████████████████░░░ 86.32%8295
  AppExtensionHelper.swift ██████░░░░░░░░░░░░░░ 34.29%1235
  Auth.swift ██████████████████░░ 90.91%1011
  AuthFailure.swift ████████████████████ 100.00%66
  AuthManager.swift ███████████████████░ 95.72%291304
  ClassExtensions.swift ██████████████████░░ 90.48%95105
  CommerceItem.swift ████████████████████ 100.00%4444
  Constants.swift ███████████████████░ 97.62%4142
  CoreDataUtil.swift █████████████░░░░░░░ 69.49%4159
  DataFieldsHelper.swift ██████████████████░░ 93.67%7479
  DateProvider.swift ████████████████████ 100.00%44
  DeepLinkManager.swift ██████████████████░░ 92.68%114123
  DependencyContainer.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%021
  DependencyContainerProtocol.swift █████████████████░░░ 86.49%96111
  Dwifft+UIKit.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%080
  Dwifft.swift ███████████████░░░░░ 78.95%255323
  EmbeddedHelper.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%053
  EmbeddedMessagingProcessor.swift ███████████████████░ 97.67%4243
  EmbeddedMessagingSerialization.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%096
  EmbeddedSessionManager.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%085
  EmptyEmbeddedManager.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%030
  EmptyInAppManager.swift █████████████████░░░ 85.71%3642
  HealthMonitor.swift █████████████████░░░ 86.54%90104
  InAppCalculations.swift █████████████░░░░░░░ 66.12%80121
  InAppContentParser.swift █████████████████░░░ 85.71%144168
  InAppDisplayer.swift ██████░░░░░░░░░░░░░░ 32.39%2371
  InAppHelper.swift ███████████████████░ 98.89%8990
  InAppInternal.swift ███████░░░░░░░░░░░░░ 39.58%1948
  InAppManager+Functions.swift ████████████████████ 100.00%139139
  InAppManager.swift ██████████████████░░ 93.62%631674
  InAppMessageParser.swift ███████████████████░ 98.14%158161
  InAppPersistence.swift ████████████████░░░░ 81.34%292359
  InAppPresenter.swift ███████████████░░░░░ 79.22%6177
  InboxImpressionTracker.swift ███████████████████░ 96.39%8083
  InboxMessageViewModel.swift ████████████████████ 100.00%3939
  InboxSessionManager.swift █████████████████░░░ 88.46%4652
  InboxState.swift ████████████░░░░░░░░ 61.82%3455
  InboxViewControllerViewModel.swift ████████░░░░░░░░░░░░ 42.93%176410
  InboxViewRepresentable.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%015
  InternalIterableAPI.swift ██████████████████░░ 91.52%9931085
  InternalIterableAppIntegration.swift ████████████████░░░░ 80.08%189236
  IterableAction.swift ████████████████████ 100.00%1717
  IterableActionContext.swift ████████████████████ 100.00%44
  IterableAPI.swift ███░░░░░░░░░░░░░░░░░ 19.89%70352
  IterableAPICallRequest.swift ███████████████████░ 98.39%6162
  IterableAPICallTaskProcessor.swift ███████████████████░ 96.36%5355
  IterableAPIMobileFrameworkDetector.swift ███████████████░░░░░ 79.37%5063
  IterableAppIntegration.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%021
  IterableAttributionInfo.swift ████████████████████ 100.00%2525
  IterableConfig.swift ████████████████████ 100.00%2020
  IterableCoreDataPersistence.swift █████████████████░░░ 89.57%146163
  IterableEmbeddedManager.swift █████████████░░░░░░░ 68.00%187275
  IterableEmbeddedMessage.swift ████████████████████ 100.00%1616
  IterableEmbeddedView.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%0384
  IterableHtmlMessageViewController.swift █████████████░░░░░░░ 69.82%236338
  IterableIdentityResolution.swift ████████████████████ 100.00%44
  IterableInAppMessage.swift ████████████████████ 100.00%2121
  IterableInboxCell+Layout.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%0108
  IterableInboxCell.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%017
  IterableInboxNavigationViewController.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%0155
  IterableInboxView.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%050
  IterableInboxViewController.swift █░░░░░░░░░░░░░░░░░░░ 6.64%30452
  IterableKeychain.swift █████████████░░░░░░░ 68.83%5377
  IterableLogging.swift █████████████████░░░ 88.89%2427
  IterableLogUtil.swift ████████████████████ 100.00%3939
  IterableMessaging.swift ████████████████░░░░ 82.76%2429
  IterableNotifications.swift ████████████████░░░░ 84.21%3238
  IterablePersistence.swift ████████████████████ 100.00%66
  IterablePushNotificationMetadata.swift ████████████████████ 100.00%1616
  IterableRequest.swift ███████████████████░ 96.77%6062
  IterableRequestUtil.swift ███████████████████░ 95.56%8690
  IterableTask.swift ████████████████░░░░ 82.93%3441
  IterableTaskError.swift ████████████░░░░░░░░ 60.00%610
  IterableTaskManagedObject.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%03
  IterableTaskRunner.swift ██████████████████░░ 93.99%360383
  IterableTaskScheduler.swift ██████████████░░░░░░ 71.60%5881
  IterableTokenGenerator.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%078
  IterableUserDefaults.swift █████████░░░░░░░░░░░ 46.43%117252
  IterableUtil.swift ████████████░░░░░░░░ 60.00%114190
  KeychainWrapper.swift ███████████████████░ 97.87%9294
  LocalStorage.swift ███████████░░░░░░░░░ 57.93%84145
  LocalStorageProtocol.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%02
  MiscEmbeddedClasses.swift ░░░░░░░░░░░░░░░░░░░░ 0.00%013
  MiscInboxClasses.swift ████████████████████ 100.00%1616
  NetworkConnectivityChecker.swift ███████████████████░ 98.39%122124
  NetworkConnectivityManager.swift ███████████████████░ 95.60%8791
  NetworkHelper.swift ███████████████████░ 97.96%240245
  NetworkMonitor.swift ████████████████████ 100.00%2828
  NetworkSession.swift ░░░░░░░░░░░░░░░░░░░░ 3.33%390
  NotificationHelper.swift ███████████████████░ 98.59%7071
  OfflineRequestProcessor.swift █████████████░░░░░░░ 66.21%335506
  OnlineRequestProcessor.swift ████████████████░░░░ 83.53%213255
  OrderedDictionary.swift ██████████████████░░ 91.84%9098
  Pending.swift ██████████████████░░ 92.02%219238
  PersistenceHelper.swift ███████████████████░ 97.14%3435
  RequestCreator.swift ███████████████░░░░░ 75.49%536710
  RequestHandler.swift ███████████████░░░░░ 77.95%297381
  RequestProcessorUtil.swift █████████████████░░░ 89.33%201225
  RequestSender.swift ████████████████████ 100.00%9292
  ResourceHelper.swift █████████████████░░░ 88.89%1618
  RetryPolicy.swift ████████████████████ 100.00%55
  SectionedValues.swift ████████████░░░░░░░░ 64.44%2945
  UIColor+Extension.swift ████░░░░░░░░░░░░░░░░ 23.81%521
  UnknownUserManager+Functions.swift █████████████████░░░ 86.42%700810
  UnknownUserManager.swift ███████████████░░░░░ 78.41%236301
  UnknownUserMerge.swift █████████████████░░░ 87.50%2832
  WebViewProtocol.swift ██████████████████░░ 92.68%3841