Skip to content

Merge pull request #905 from snowplow/release/6.0.8 #56

Merge pull request #905 from snowplow/release/6.0.8

Merge pull request #905 from snowplow/release/6.0.8 #56

GitHub Actions / Test results: Unit (watchOS, Xcode 13.4) failed Aug 20, 2024 in 0s

Xcode test results

Testing workspace snowplow-ios-tracker with scheme SnowplowTracker

Summary

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

Test Summary

Tests

  • Device: Apple Watch Series 7 - 45mm, 9.1 (20S75)
  • SDK: Simulator - watchOS 8.5, 8.5
TestTotalSuccessFailureSkippedExpected Failure
test-class LegacyTestSubject55000
test-class TestConfigurationBuilder11000
test-class TestDataPersistence88000
test-class TestEcommerceController22000
test-class TestEcommerceEntities33000
test-class TestEcommerceEvents1111000
test-class TestEmitter1414000
test-class TestEmitterConfiguration44000
test-class TestEvents2121000
test-class TestGlobalContexts77000
test-class TestImmersiveSpaceState22000
test-class TestLifecycleState11000
test-class TestLinkDecorator65100
test-class TestLogger33000
test-class TestMediaAdTracking22000
test-class TestMediaController2828000
test-class TestMediaEventAndEntitySerialization66000
test-class TestMediaSessionTrackingStats1010000
test-class TestMemoryEventStore55000
test-class TestMultipleInstances88000
test-class TestNetworkConnection44000
test-class TestPayload1818000
test-class TestPlatformContext55000
test-class TestPlugins88000
test-class TestRemoteConfiguration44000
test-class TestRequest55000
test-class TestRequestResult77000
test-class TestSchemaRuleset44000
test-class TestScreenState33000
test-class TestScreenSummaryStateMachine44000
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

Failure Failures

Tests/TestLinkDecorator/testMissingFields()

File/Users/runner/work/snowplow-ios-tracker/snowplow-ios-tracker/Tests/TestLinkDecorator.swift:33
Issue TypeAssertion Failure
Messagefailed - URL does not match pattern: https://example.com?_sp=9a79171d-bc34-4ead-9925-4ecbfe8e8c73.1724151820565.28cd0701-d54f-4b40-8d6d-13cba4634e59..Y29tLmFwcGxlLmR0LnhjdGVzdC50b29s ^https:\/\/example\.com\?_sp=9a79171d-bc34-4ead-9925-4ecbfe8e8c73\.\d{13}\.\.\.Y29tLmFwcGxlLmR0LnhjdGVzdC50b29s$
File/Users/runner/work/snowplow-ios-tracker/snowplow-ios-tracker/Tests/TestLinkDecorator.swift:35
Issue TypeAssertion Failure
MessageXCTAssertEqual failed: ("0") is not equal to ("1")

Details

Test Details

Testsback

LegacyTestSubject back

SuccessFailureSkippedExpected Failure⏱️
5 (100%)0 (0%)0 (0%)0 (0%)0.00s
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.03s
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()

TestEcommerceController back

SuccessFailureSkippedExpected Failure⏱️
2 (100%)0 (0%)0 (0%)0 (0%)0.62s
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.22s
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.01s
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.01s
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.01s
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()

TestGlobalContexts back

SuccessFailureSkippedExpected Failure⏱️
7 (100%)0 (0%)0 (0%)0 (0%)0.01s
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⏱️
5 (83%)1 (17%)0 (0%)0 (0%)0.00s
Successtest-method testExistingSpQueryParameterInMiddleOfOtherQueryParameters()
Failuretest-method testMissingFields()back

Activities:
Successtest-method testMissingSessionUserId()
Successtest-method testParameterConfiguration()
Successtest-method testWithExistingSpQueryParameter()
Successtest-method testWithOtherQueryParameters()

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.52s
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()
Successtest-method testTrackingFullscreenChangeEventUpdatesFullscreenInMediaPlayer()
Successtest-method testTrackingPictureInPictureChangeEventUpdatesPictureInPictureInMediaPlayer()
Successtest-method testTrackingPlaybackRateChangeEventUpdatesThePlaybackRate()
Successtest-method testTrackingVolumeChangeEventUpdatesTheVolume()
Successtest-method testTracksCustomEvent()

TestMediaEventAndEntitySerialization back

SuccessFailureSkippedExpected Failure⏱️
6 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testBuildsAdBreakEntity()
Successtest-method testBuildsAdEntity()
Successtest-method testBuildsEntityForMediaPlayer()
Successtest-method testBuildsEntityWithDefaultValuesForEmptyMediaPlayer()
Successtest-method testBuildsMediaSessionEntity()
Successtest-method testSchemaForMediaEventTypes()

TestMediaSessionTrackingStats back

SuccessFailureSkippedExpected Failure⏱️
10 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testCalculatesAveragePlaybackRate()
Successtest-method testCalculatesBufferingTime()
Successtest-method testCalculatesPlayedDuration()
Successtest-method testCalculatesPlayOnMute()

Annotations

Check failure on line 33 in snowplow-ios-tracker/Tests/TestLinkDecorator.swift

See this annotation in the file changed.

@github-actions github-actions / Test results: Unit (watchOS, Xcode 13.4)

Assertion Failure

failed - URL does not match pattern:
https://example.com?_sp=9a79171d-bc34-4ead-9925-4ecbfe8e8c73.1724151820565.28cd0701-d54f-4b40-8d6d-13cba4634e59..Y29tLmFwcGxlLmR0LnhjdGVzdC50b29s
^https:\/\/example\.com\?_sp=9a79171d-bc34-4ead-9925-4ecbfe8e8c73\.\d{13}\.\.\.Y29tLmFwcGxlLmR0LnhjdGVzdC50b29s$

Check failure on line 35 in snowplow-ios-tracker/Tests/TestLinkDecorator.swift

See this annotation in the file changed.

@github-actions github-actions / Test results: Unit (watchOS, Xcode 13.4)

Assertion Failure

XCTAssertEqual failed: ("0") is not equal to ("1")