Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle nan values and other non-serializable data in events from the WebView tracker #909

Merged
merged 1 commit into from
Nov 20, 2024

Handle nan values and other non-serializable data in events from the …

8dc7130
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Handle nan values and other non-serializable data in events from the WebView tracker #909

Handle nan values and other non-serializable data in events from the …
8dc7130
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test results: Unit (iOS, Xcode 13.4) succeeded Nov 19, 2024 in 0s

Xcode test results

Testing workspace snowplow-ios-tracker with scheme SnowplowTracker

Summary

TotalSuccess PassedFailure FailedSkipped SkippedExpected Failure Expected Failure⏱️ Time
34634600028.49s

Test Summary

Tests

  • Device: iPhone 13, 15.5 (19F70)
  • SDK: Simulator - iOS 15.5, 15.5
TestTotalSuccessFailureSkippedExpected Failure
test-class LegacyTestSubject55000
test-class TestConfigurationBuilder11000
test-class TestDataPersistence88000
test-class TestDatabase1111000
test-class TestEcommerceController22000
test-class TestEcommerceEntities33000
test-class TestEcommerceEvents1111000
test-class TestEmitter1414000
test-class TestEmitterConfiguration44000
test-class TestEvents2121000
test-class TestFocalMeterConfiguration33000
test-class TestGlobalContexts77000
test-class TestImmersiveSpaceState22000
test-class TestLifecycleState11000
test-class TestLinkDecorator66000
test-class TestListItemViewModifier11000
test-class TestLogger33000
test-class TestMediaAdTracking22000
test-class TestMediaController2828000
test-class TestMediaEventAndEntitySerialization66000
test-class TestMediaSessionTrackingStats1010000
test-class TestMemoryEventStore55000
test-class TestMultipleInstances88000
test-class TestNetworkConnection1111000
test-class TestPayload1818000
test-class TestPlatformContext1616000
test-class TestPlugins88000
test-class TestRemoteConfiguration1414000
test-class TestRequest55000
test-class TestRequestResult77000
test-class TestSQLiteEventStore66000
test-class TestSchemaRuleset44000
test-class TestScreenState33000
test-class TestScreenSummaryStateMachine44000
test-class TestScreenViewModifier11000
test-class TestSelfDescribingJson88000
test-class TestServiceProvider11000
test-class TestSession1515000
test-class TestStateManager77000
test-class TestSubject55000
test-class TestTracker33000
test-class TestTrackerConfiguration1616000
test-class TestTrackerController44000
test-class TestTrackerEvent11000
test-class TestUtils1515000
test-class TestVisionOSEntities22000
test-class TestVisionOSEvents55000
test-class TestWebViewMessageHandler55000

Failure Failures

All tests passed 🎉

Details

Test Details

Testsback

LegacyTestSubject back

SuccessFailureSkippedExpected Failure⏱️
5 (100%)0 (0%)0 (0%)0 (0%)0.02s
Successtest-method testGeoLocationGetWithoutNeededKeys()
Successtest-method testGeoLocationWithSubjectConfiguration()
Successtest-method testSubjectInit()
Successtest-method testSubjectInitWithOptions()
Successtest-method testSubjectSetterFunctions()

TestConfigurationBuilder back

SuccessFailureSkippedExpected Failure⏱️
1 (100%)0 (0%)0 (0%)0 (0%)0.05s
Successtest-method testCreateTrackerUsingBuilder()

TestDataPersistence back

SuccessFailureSkippedExpected Failure⏱️
8 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testDataIsCorrectlyStored()
Successtest-method testDataIsCorrectlyStoredWhenNotStoredOnFile()
Successtest-method testDataIsStoredWithoutInterference()
Successtest-method testDataIsStoredWithoutInterferenceWhenNotStoredOnFile()
Successtest-method testDataPersistenceForNamespaceWithDifferentNamespaces()
Successtest-method testDataPersistenceForNamespaceWithSameNamespaces()
Successtest-method testRemoveForNamespace()
Successtest-method testStringFromNamespace()

TestDatabase back

SuccessFailureSkippedExpected Failure⏱️
11 (100%)0 (0%)0 (0%)0 (0%)0.01s
Successtest-method testCanWorkWithTwoOpenDatabases()
Successtest-method testCountRows()
Successtest-method testDatabasePathConsistentForNamespace()
Successtest-method testDatabasePathDiffersByNamespace()
Successtest-method testDatabasePathDoesntContainSpecialChars()
Successtest-method testDeleteAllRows()
Successtest-method testDeleteSpecificRows()
Successtest-method testInsertsAndReadsRow()
Successtest-method testRemoveOldestEventsByMaxSize()
Successtest-method testRemoveOldEventsByAge()
Successtest-method testSelectRowsWithLimit()

TestEcommerceController back

SuccessFailureSkippedExpected Failure⏱️
2 (100%)0 (0%)0 (0%)0 (0%)0.64s
Successtest-method testAddScreenEntity()
Successtest-method testAddUserEntity()

TestEcommerceEntities back

SuccessFailureSkippedExpected Failure⏱️
3 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testBuildsCartEntity()
Successtest-method testBuildsProductEntity()
Successtest-method testBuildsPromotionEntity()

TestEcommerceEvents back

SuccessFailureSkippedExpected Failure⏱️
11 (100%)0 (0%)0 (0%)0 (0%)0.23s
Successtest-method testAddToCart()
Successtest-method testCheckoutStep()
Successtest-method testProductListClick()
Successtest-method testProductListView()
Successtest-method testProductView()
Successtest-method testPromotionClick()
Successtest-method testPromotionView()
Successtest-method testRefund()
Successtest-method testRemoveFromCart()
Successtest-method testTransaction()
Successtest-method testTransactionError()

TestEmitter back

SuccessFailureSkippedExpected Failure⏱️
14 (100%)0 (0%)0 (0%)0 (0%)1.00s
Successtest-method testDoesNotRetryFailedRequestsIfDisabled()
Successtest-method testDoesntMakeRequestUnlessBufferSizeIsReached()
Successtest-method testEmitEventsPostAsGroup()
Successtest-method testEmitOversizeEventsPostAsGroup()
Successtest-method testEmitSingleGetEventWithNoSuccess()
Successtest-method testEmitSingleGetEventWithSuccess()
Successtest-method testEmitSinglePostEventWithSuccess()
Successtest-method testEmitterBuilderAndOptions()
Successtest-method testEmitTwoGetEventsWithNoSuccess()
Successtest-method testEmitTwoGetEventsWithSuccess()
Successtest-method testFollowCustomRetryRules()
Successtest-method testNumberOfRequestsMatchesEmitRangeAndOversize()
Successtest-method testPausesEmitIfFailedToRemoveFromEventStore()
Successtest-method testRemovesEventsFromQueueOnNoRetryStatus()

TestEmitterConfiguration back

SuccessFailureSkippedExpected Failure⏱️
4 (100%)0 (0%)0 (0%)0 (0%)2.02s
Successtest-method testActivatesServerAnonymisationInEmitter()
Successtest-method testAllowsAccessToTheEventStore()
Successtest-method testPauseEmitter()
Successtest-method testRespectsEmitRange()

TestEvents back

SuccessFailureSkippedExpected Failure⏱️
21 (100%)0 (0%)0 (0%)0 (0%)1.03s
Successtest-method testApplicationInstall()
Successtest-method testConsentGranted()
Successtest-method testConsentWithdrawn()
Successtest-method testDeepLinkContextAndAtomicPropertiesAddedToScreenView()
Successtest-method testEcommerce()
Successtest-method testEcommerceItem()
Successtest-method testEntities()
Successtest-method testError()
Successtest-method testMessageNotification()
Successtest-method testMessageNotificationWithUserInfo()
Successtest-method testPageView()
Successtest-method testPushNotification()
Successtest-method testPushNotificationContent()
Successtest-method testScreenView()
Successtest-method testSelfDescribing()
Successtest-method testSelfDescribingWithEncodableData()
Successtest-method testStructured()
Successtest-method testTiming()
Successtest-method testTrackerError()
Successtest-method testTrueTimestamp()
Successtest-method testWorkaroundForCampaignAttributionEnrichment()

TestFocalMeterConfiguration back

SuccessFailureSkippedExpected Failure⏱️
3 (100%)0 (0%)0 (0%)0 (0%)0.03s
Successtest-method testMakesRequestToKantarEndpointWhenUserIdChanges()
Successtest-method testMakesRequestToKantarEndpointWithProcessedUserId()
Successtest-method testMakesRequestToKantarEndpointWithUserId()

TestGlobalContexts back

SuccessFailureSkippedExpected Failure⏱️
7 (100%)0 (0%)0 (0%)0 (0%)0.02s
Successtest-method testAddRemove()
Successtest-method testBlockGenerator()
Successtest-method testContextGenerator()
Successtest-method testGlobalContexts()
Successtest-method testStaticGenerator()
Successtest-method testStaticGeneratortWithFilter()
Successtest-method testStaticGeneratorWithRuleset()

TestImmersiveSpaceState back

SuccessFailureSkippedExpected Failure⏱️
2 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testEntityNotConfigured()
Successtest-method testImmersiveSpaceStateMachine()

TestLifecycleState back

SuccessFailureSkippedExpected Failure⏱️
1 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testLifecycleStateMachine()

TestLinkDecorator back

SuccessFailureSkippedExpected Failure⏱️
6 (100%)0 (0%)0 (0%)0 (0%)0.03s
Successtest-method testExistingSpQueryParameterInMiddleOfOtherQueryParameters()
Successtest-method testMissingFields()
Successtest-method testMissingSessionUserId()
Successtest-method testParameterConfiguration()
Successtest-method testWithExistingSpQueryParameter()
Successtest-method testWithOtherQueryParameters()

TestListItemViewModifier back

SuccessFailureSkippedExpected Failure⏱️
1 (100%)0 (0%)0 (0%)0 (0%)0.03s
Successtest-method testTracksListItemViewEvent()

TestLogger back

SuccessFailureSkippedExpected Failure⏱️
3 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testDiagnosticTracking()
Successtest-method testDiagnosticTrackingWithError()
Successtest-method testDiagnosticTrackingWithException()

TestMediaAdTracking back

SuccessFailureSkippedExpected Failure⏱️
2 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testUpdatesPodPositionOfAds()
Successtest-method testUpdatesStartTimeOfAdBreak()

TestMediaController back

SuccessFailureSkippedExpected Failure⏱️
28 (100%)0 (0%)0 (0%)0 (0%)0.53s
Successtest-method testAddsEntitiesFromConfigToEvents()
Successtest-method testAddsEntitiesTrackedWithEvent()
Successtest-method testAddsMediaSessionContextEntityWithGivenID()
Successtest-method testAddsPercentProgressPropertyToAdEvents()
Successtest-method testCalculatesSessionStats()
Successtest-method testDoesntSendProgressEventMultipleTimes()
Successtest-method testDoesntSendProgressEventsIfPaused()
Successtest-method testDoesntTrackEventsExcludedFromCaptureEvents()
Successtest-method testDoesntTrackSeekStartMultipleTimes()
Successtest-method testProgressEventsShouldHavePercentValue()
Successtest-method testSetsPausedAndEndedToTrueWhenEndIsTracked()
Successtest-method testSetsPausedToFalseWhenPlayEventIsTracked()
Successtest-method testSetsPausedToTrueWhenPauseIsTracked()
Successtest-method testSetsPropertiesOfErrorEvent()
Successtest-method testSetsQualityPropertiesInQualityChangeEvent()
Successtest-method testShouldNotStopSendingPingEventsWhenPlaying()
Successtest-method testShouldSendPingEventsRegardlessOfOtherEvents()
Successtest-method testShouldSendProgressEventsWhenBoundariesReached()
Successtest-method testShouldStopSendingPingEventsWhenPaused()
Successtest-method testStartsSendingPingEventsAfterSessionStarts()
Successtest-method testTrackingAdFirstQuartileSetsPercentProgress()
Successtest-method testTrackingAdMidpointSetsPercentProgress()
Successtest-method testTrackingAdThirdQuartileSetsPercentProgress()