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

Support WebView Replay #1776

Merged
merged 22 commits into from
Apr 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
4174d09
RUM-2816 WebView Record Receiver
maxep Feb 21, 2024
1f5b758
Update testUnsupportedView()-allowAll-privacy.png.json
maxep Mar 13, 2024
193975f
RUM-2816 Use corrected date
maxep Mar 21, 2024
0242681
RUM-2816 Apply rum view time offset
maxep Mar 21, 2024
e25a3bf
Merge pull request #1720 from DataDog/maxep/RUM-2816/web-view-sr-rece…
maxep Mar 26, 2024
819b4dd
RUM-2813 Add webview replay configuration
maxep Mar 29, 2024
d511735
Apply suggestions from code review
maxep Apr 9, 2024
92dc3b0
Apply suggestions from code review
maxep Apr 9, 2024
6c4d5d1
Merge pull request #1754 from DataDog/maxep/RUM-2813/sr-webview-privacy
maxep Apr 9, 2024
d524f2b
RUM-3531 WebView slot cache
maxep Mar 21, 2024
6eff630
RUM-3135 Build hidden webview wireframes
maxep Apr 5, 2024
62185d6
RUM-3531 Use NSHashTable as webview cache
maxep Apr 12, 2024
d4b1d4a
Merge pull request #1760 from DataDog/maxep/RUM-3531/hide-webview-wir…
maxep Apr 12, 2024
cc5692d
Merge branch 'develop' into feature/webview-replay
maxep Apr 15, 2024
aec536a
Fix feature scope conflict
maxep Apr 15, 2024
0134202
Update CHANGELOG.md
maxep Apr 15, 2024
ec3006f
Merge branch 'develop' into feature/webview-replay
maxep Apr 16, 2024
6abffa1
RUM-4086 Synchronize SR info with webviews
maxep Apr 17, 2024
5d3a8dd
apply cr suggestions
maxep Apr 19, 2024
30ed013
Merge pull request #1784 from DataDog/maxep/RUM-4086/inject-has-repla…
maxep Apr 19, 2024
7ec152f
Apply suggestions from code review
maxep Apr 19, 2024
0930c24
Merge branch 'develop' into feature/webview-replay
maxep Apr 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Unreleased

- [FEATURE] Support WebView recording in Session Replay. See [#1776][]

# 2.10.0 / 23-04-2024

- [IMPROVEMENT] Add image duplicate detection between sessions. See [#1747][]
Expand Down Expand Up @@ -631,16 +633,17 @@ Release `2.0` introduces breaking changes. Follow the [Migration Guide](MIGRATIO
[#1697]: https://github.com/DataDog/dd-sdk-ios/pull/1697
[#1707]: https://github.com/DataDog/dd-sdk-ios/pull/1707
[#1711]: https://github.com/DataDog/dd-sdk-ios/pull/1711
[#1721]: https://github.com/DataDog/dd-sdk-ios/pull/1721
[#1722]: https://github.com/DataDog/dd-sdk-ios/pull/1722
[#1724]: https://github.com/DataDog/dd-sdk-ios/pull/1724
[#1741]: https://github.com/DataDog/dd-sdk-ios/pull/1741
[#1742]: https://github.com/DataDog/dd-sdk-ios/pull/1742
[#1746]: https://github.com/DataDog/dd-sdk-ios/pull/1746
[#1747]: https://github.com/DataDog/dd-sdk-ios/pull/1747
[#1774]: https://github.com/DataDog/dd-sdk-ios/pull/1774
[#1763]: https://github.com/DataDog/dd-sdk-ios/pull/1763
[#1767]: https://github.com/DataDog/dd-sdk-ios/pull/1767
[#1721]: https://github.com/DataDog/dd-sdk-ios/pull/1721
[#1747]: https://github.com/DataDog/dd-sdk-ios/pull/1747
[#1776]: https://github.com/DataDog/dd-sdk-ios/pull/1776
[@00fa9a]: https://github.com/00FA9A
[@britton-earnin]: https://github.com/Britton-Earnin
[@hengyu]: https://github.com/Hengyu
Expand Down
42 changes: 35 additions & 7 deletions Datadog/Datadog.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -593,6 +593,7 @@
A7EA11622AB0CE6C00C73970 /* DDUIKitRUMActionsPredicateTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = A7DA18062AB0CA4700F76337 /* DDUIKitRUMActionsPredicateTests.swift */; };
A7EA88562B17639A00FE2580 /* ResourcesWriter.swift in Sources */ = {isa = PBXBuildFile; fileRef = A7EA88552B17639A00FE2580 /* ResourcesWriter.swift */; };
A7F651302B7655DE004B0EDB /* UIImageResourceTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = A7F6512F2B7655DE004B0EDB /* UIImageResourceTests.swift */; };
D2056C212BBFE05A0085BC76 /* WireframesBuilderTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D2056C202BBFE05A0085BC76 /* WireframesBuilderTests.swift */; };
A7FA98CE2BA1A6930018D6B5 /* SharedMetrics.swift in Sources */ = {isa = PBXBuildFile; fileRef = A7FA98CD2BA1A6930018D6B5 /* SharedMetrics.swift */; };
A7FA98CF2BA1A6930018D6B5 /* SharedMetrics.swift in Sources */ = {isa = PBXBuildFile; fileRef = A7FA98CD2BA1A6930018D6B5 /* SharedMetrics.swift */; };
D20605A3287464F40047275C /* ContextValuePublisher.swift in Sources */ = {isa = PBXBuildFile; fileRef = D20605A2287464F40047275C /* ContextValuePublisher.swift */; };
Expand Down Expand Up @@ -1004,6 +1005,7 @@
D270CDE12B46E5A50002EACD /* URLSessionDataDelegateSwizzlerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D270CDDF2B46E5A50002EACD /* URLSessionDataDelegateSwizzlerTests.swift */; };
D2777D9D29F6A75800FFBB40 /* TelemetryReceiverTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D2777D9C29F6A75800FFBB40 /* TelemetryReceiverTests.swift */; };
D2777D9E29F6A75800FFBB40 /* TelemetryReceiverTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D2777D9C29F6A75800FFBB40 /* TelemetryReceiverTests.swift */; };
D27CBD9A2BB5DBBB00C766AA /* Mocks.swift in Sources */ = {isa = PBXBuildFile; fileRef = D27CBD992BB5DBBB00C766AA /* Mocks.swift */; };
D27D81C12A5D415200281CC2 /* CrashReporter.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 614ED36B260352DC00C8C519 /* CrashReporter.xcframework */; };
D27D81C22A5D415200281CC2 /* DatadogCrashReporting.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 61B7885425C180CB002675B5 /* DatadogCrashReporting.framework */; };
D27D81C32A5D415200281CC2 /* DatadogInternal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D23039A5298D513C001A1FA3 /* DatadogInternal.framework */; };
Expand Down Expand Up @@ -1285,6 +1287,9 @@
D2C1A57429C4F30000946C31 /* DatadogInternal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D2DA2385298D57AA00C6C7E6 /* DatadogInternal.framework */; };
D2C5D5282B83FD5300B63F36 /* WebViewMessageTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 61AE740F2AD6EE4E008DB9BB /* WebViewMessageTests.swift */; };
D2C5D5292B83FD5400B63F36 /* WebViewMessageTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 61AE740F2AD6EE4E008DB9BB /* WebViewMessageTests.swift */; };
D2C5D52B2B84F6AB00B63F36 /* WebViewRecordReceiver.swift in Sources */ = {isa = PBXBuildFile; fileRef = D2C5D52A2B84F6AB00B63F36 /* WebViewRecordReceiver.swift */; };
D2C5D52D2B84F6D800B63F36 /* WebViewRecordReceiverTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D2C5D52C2B84F6D800B63F36 /* WebViewRecordReceiverTests.swift */; };
D2C5D5302B84F71200B63F36 /* WebRecordIntegrationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D2C5D52F2B84F71200B63F36 /* WebRecordIntegrationTests.swift */; };
D2C7E3AB28F97DCF0023B2CC /* BatteryStatusPublisherTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D2C7E3AA28F97DCF0023B2CC /* BatteryStatusPublisherTests.swift */; };
D2C7E3AE28FEBDA10023B2CC /* LaunchTimePublisher.swift in Sources */ = {isa = PBXBuildFile; fileRef = D2C7E3AD28FEBDA10023B2CC /* LaunchTimePublisher.swift */; };
D2CB6E0C27C50EAE00A62B57 /* DatadogCore.h in Headers */ = {isa = PBXBuildFile; fileRef = 61133B85242393DE00786299 /* DatadogCore.h */; settings = {ATTRIBUTES = (Public, ); }; };
Expand Down Expand Up @@ -2570,6 +2575,7 @@
B3BBBCBB265E71D100943419 /* VitalMemoryReaderTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = VitalMemoryReaderTests.swift; sourceTree = "<group>"; };
B3FC3C0626526EFF00DEED9E /* VitalInfo.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = VitalInfo.swift; sourceTree = "<group>"; };
B3FC3C3B2653A97700DEED9E /* VitalInfoTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = VitalInfoTests.swift; sourceTree = "<group>"; };
D2056C202BBFE05A0085BC76 /* WireframesBuilderTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WireframesBuilderTests.swift; sourceTree = "<group>"; };
D20605A2287464F40047275C /* ContextValuePublisher.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContextValuePublisher.swift; sourceTree = "<group>"; };
D20605A5287476230047275C /* ServerOffsetPublisher.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ServerOffsetPublisher.swift; sourceTree = "<group>"; };
D20605A82874C1CD0047275C /* NetworkConnectionInfoPublisher.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NetworkConnectionInfoPublisher.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -2731,6 +2737,7 @@
D270CDDC2B46E3DB0002EACD /* URLSessionDataDelegateSwizzler.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = URLSessionDataDelegateSwizzler.swift; sourceTree = "<group>"; };
D270CDDF2B46E5A50002EACD /* URLSessionDataDelegateSwizzlerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = URLSessionDataDelegateSwizzlerTests.swift; sourceTree = "<group>"; };
D2777D9C29F6A75800FFBB40 /* TelemetryReceiverTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TelemetryReceiverTests.swift; sourceTree = "<group>"; };
D27CBD992BB5DBBB00C766AA /* Mocks.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Mocks.swift; sourceTree = "<group>"; };
D286626D2A43487500852CE3 /* Datadog.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Datadog.swift; sourceTree = "<group>"; };
D28F836729C9E71C00EF8EA2 /* DDSpanTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DDSpanTests.swift; sourceTree = "<group>"; };
D28F836A29C9E7A300EF8EA2 /* TracingURLSessionHandlerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TracingURLSessionHandlerTests.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -2783,6 +2790,9 @@
D2BEEDB72B3360F50065F3AC /* URLSessionTaskDelegateSwizzlerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = URLSessionTaskDelegateSwizzlerTests.swift; sourceTree = "<group>"; };
D2C1A55A29C4F2DF00946C31 /* DatadogTrace.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = DatadogTrace.framework; sourceTree = BUILT_PRODUCTS_DIR; };
D2C1A57329C4F2E800946C31 /* DatadogTraceTests tvOS.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "DatadogTraceTests tvOS.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
D2C5D52A2B84F6AB00B63F36 /* WebViewRecordReceiver.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = WebViewRecordReceiver.swift; sourceTree = "<group>"; };
D2C5D52C2B84F6D800B63F36 /* WebViewRecordReceiverTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = WebViewRecordReceiverTests.swift; sourceTree = "<group>"; };
D2C5D52F2B84F71200B63F36 /* WebRecordIntegrationTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = WebRecordIntegrationTests.swift; sourceTree = "<group>"; };
D2C7E3AA28F97DCF0023B2CC /* BatteryStatusPublisherTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BatteryStatusPublisherTests.swift; sourceTree = "<group>"; };
D2C7E3AD28FEBDA10023B2CC /* LaunchTimePublisher.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LaunchTimePublisher.swift; sourceTree = "<group>"; };
D2CB6ED127C50EAE00A62B57 /* DatadogCore.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = DatadogCore.framework; sourceTree = BUILT_PRODUCTS_DIR; };
Expand Down Expand Up @@ -3217,6 +3227,7 @@
children = (
D297324F2A5C109A00827599 /* MessageEmitterTests.swift */,
D29732502A5C109A00827599 /* WebViewTrackingTests.swift */,
D27CBD992BB5DBBB00C766AA /* Mocks.swift */,
);
name = DatadogWebViewTrackingTests;
path = ../DatadogWebViewTracking/Tests;
Expand Down Expand Up @@ -3347,10 +3358,10 @@
61054E242A6EE10A00AAA894 /* ViewTreeSnapshot.swift */,
61054E252A6EE10A00AAA894 /* ViewTreeSnapshotBuilder.swift */,
61054E262A6EE10A00AAA894 /* ViewTreeRecorder.swift */,
61054E272A6EE10A00AAA894 /* NodeRecorders */,
61054E372A6EE10A00AAA894 /* ViewAttributes+Copy.swift */,
61054E382A6EE10A00AAA894 /* ViewTreeRecordingContext.swift */,
61054E392A6EE10A00AAA894 /* NodeIDGenerator.swift */,
61054E272A6EE10A00AAA894 /* NodeRecorders */,
);
path = ViewTreeSnapshot;
sourceTree = "<group>";
Expand Down Expand Up @@ -3385,6 +3396,7 @@
A73A54972B16406900E1F7E3 /* ResourcesFeature.swift */,
61054E3C2A6EE10A00AAA894 /* SessionReplayFeature.swift */,
61054E3E2A6EE10A00AAA894 /* RUMContextReceiver.swift */,
D2C5D52A2B84F6AB00B63F36 /* WebViewRecordReceiver.swift */,
61054E3F2A6EE10A00AAA894 /* SRContextPublisher.swift */,
D22C5BCD2A98A65D0024CC1F /* Baggages.swift */,
61054E402A6EE10A00AAA894 /* RequestBuilders */,
Expand Down Expand Up @@ -3426,7 +3438,7 @@
A7B932F42B1F694000AE6477 /* ResourcesProcessor.swift */,
61054E492A6EE10A00AAA894 /* Privacy */,
61054E4C2A6EE10A00AAA894 /* Diffing */,
61054E4F2A6EE10A00AAA894 /* SRDataModelsBuilder */,
61054E4F2A6EE10A00AAA894 /* Builders */,
61054E522A6EE10A00AAA894 /* Flattening */,
);
path = Processor;
Expand All @@ -3449,13 +3461,13 @@
path = Diffing;
sourceTree = "<group>";
};
61054E4F2A6EE10A00AAA894 /* SRDataModelsBuilder */ = {
61054E4F2A6EE10A00AAA894 /* Builders */ = {
isa = PBXGroup;
children = (
61054E502A6EE10A00AAA894 /* RecordsBuilder.swift */,
61054E512A6EE10A00AAA894 /* WireframesBuilder.swift */,
);
path = SRDataModelsBuilder;
path = Builders;
sourceTree = "<group>";
};
61054E522A6EE10A00AAA894 /* Flattening */ = {
Expand Down Expand Up @@ -3526,7 +3538,7 @@
children = (
61054F4F2A6EE1BA00AAA894 /* Privacy */,
61054F512A6EE1BA00AAA894 /* Diffing */,
61054F542A6EE1BA00AAA894 /* SRDataModelsBuilder */,
61054F542A6EE1BA00AAA894 /* Builders */,
61054F562A6EE1BA00AAA894 /* SnapshotProcessorTests.swift */,
A7D9528B2B28C18D004C79B1 /* ResourceProcessorTests.swift */,
61054F572A6EE1BA00AAA894 /* Flattening */,
Expand All @@ -3551,12 +3563,13 @@
path = Diffing;
sourceTree = "<group>";
};
61054F542A6EE1BA00AAA894 /* SRDataModelsBuilder */ = {
61054F542A6EE1BA00AAA894 /* Builders */ = {
isa = PBXGroup;
children = (
61054F552A6EE1BA00AAA894 /* RecordsBuilderTests.swift */,
D2056C202BBFE05A0085BC76 /* WireframesBuilderTests.swift */,
);
path = SRDataModelsBuilder;
path = Builders;
sourceTree = "<group>";
};
61054F572A6EE1BA00AAA894 /* Flattening */ = {
Expand Down Expand Up @@ -3676,6 +3689,7 @@
children = (
61054F892A6EE1BA00AAA894 /* RUMContextReceiverTests.swift */,
61054F8A2A6EE1BA00AAA894 /* SRContextPublisherTests.swift */,
D2C5D52C2B84F6D800B63F36 /* WebViewRecordReceiverTests.swift */,
61054F8B2A6EE1BA00AAA894 /* RequestBuilder */,
);
path = Feature;
Expand Down Expand Up @@ -3719,6 +3733,7 @@
610ABD492A69309900AFEA34 /* IntegrationUnitTests */ = {
isa = PBXGroup;
children = (
D2C5D52E2B84F6E700B63F36 /* SessionReplay */,
6179DB542B60229D00E9E04E /* CrashReporting */,
61E8C5062B28896100E709B4 /* RUM */,
61F3E36B2BC7D51400C7881E /* Trace */,
Expand Down Expand Up @@ -5971,6 +5986,14 @@
path = Models;
sourceTree = "<group>";
};
D2C5D52E2B84F6E700B63F36 /* SessionReplay */ = {
isa = PBXGroup;
children = (
D2C5D52F2B84F71200B63F36 /* WebRecordIntegrationTests.swift */,
);
path = SessionReplay;
sourceTree = "<group>";
};
D2DA238B298D588A00C6C7E6 /* DatadogInternalTests */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -7596,6 +7619,7 @@
files = (
D29732532A5C109A00827599 /* WebViewTrackingTests.swift in Sources */,
D29732512A5C109A00827599 /* MessageEmitterTests.swift in Sources */,
D27CBD9A2BB5DBBB00C766AA /* Mocks.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -7686,6 +7710,7 @@
61A1A44929643254007909E7 /* DatadogCoreProxy.swift in Sources */,
D2A1EE3B287EECC000D28DFB /* CarrierInfoPublisherTests.swift in Sources */,
D22743D829DEB8B4001A7EF9 /* VitalInfoTests.swift in Sources */,
D2C5D5302B84F71200B63F36 /* WebRecordIntegrationTests.swift in Sources */,
61FF282824B8A31E000B3D9B /* RUMEventMatcher.swift in Sources */,
D29A9FD829DDC686005C54A4 /* UIKitRUMViewsPredicateTests.swift in Sources */,
D29294E3291D652C00F8EFF9 /* ApplicationVersionPublisherTests.swift in Sources */,
Expand Down Expand Up @@ -7878,6 +7903,7 @@
61054E812A6EE10A00AAA894 /* UIStepperRecorder.swift in Sources */,
61054E632A6EE10A00AAA894 /* SessionReplayConfiguration.swift in Sources */,
61054E702A6EE10A00AAA894 /* TouchSnapshotProducer.swift in Sources */,
D2C5D52B2B84F6AB00B63F36 /* WebViewRecordReceiver.swift in Sources */,
61054E652A6EE10A00AAA894 /* AppWindowObserver.swift in Sources */,
A74A72812B0CEE4900771FEB /* ResourceRequestBuilder.swift in Sources */,
61054E7B2A6EE10A00AAA894 /* UIViewRecorder.swift in Sources */,
Expand Down Expand Up @@ -7949,6 +7975,7 @@
61054FB52A6EE1BA00AAA894 /* UISliderRecorderTests.swift in Sources */,
61054FB22A6EE1BA00AAA894 /* UILabelRecorderTests.swift in Sources */,
61054FCE2A6EE1BA00AAA894 /* RUMContextObserverMock.swift in Sources */,
D2C5D52D2B84F6D800B63F36 /* WebViewRecordReceiverTests.swift in Sources */,
61054FBA2A6EE1BA00AAA894 /* UIImageViewRecorderTests.swift in Sources */,
61054FC02A6EE1BA00AAA894 /* UITextViewRecorderTests.swift in Sources */,
61054F9A2A6EE1BA00AAA894 /* CFType+SafetyTests.swift in Sources */,
Expand Down Expand Up @@ -8010,6 +8037,7 @@
61054FA52A6EE1BA00AAA894 /* RecordsBuilderTests.swift in Sources */,
61054FD02A6EE1BA00AAA894 /* SRContextPublisherTests.swift in Sources */,
61054F9B2A6EE1BA00AAA894 /* QueueTests.swift in Sources */,
D2056C212BBFE05A0085BC76 /* WireframesBuilderTests.swift in Sources */,
61054F992A6EE1BA00AAA894 /* ColorsTests.swift in Sources */,
61054FBF2A6EE1BA00AAA894 /* UIPickerViewRecorderTests.swift in Sources */,
61054FAE2A6EE1BA00AAA894 /* TouchIdentifierGeneratorTests.swift in Sources */,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ class WebEventIntegrationTests: XCTestCase {
"service": "super",
"session": {
"id": "0110cab4-7471-480e-aa4e-7ce039ced355",
"type": "user"
"type": "user",
"has_replay": true
},
"type": "view",
"view": {
Expand Down Expand Up @@ -90,14 +91,16 @@ class WebEventIntegrationTests: XCTestCase {
"count": 3
},
"time_spent": 3120000000,
"url": "http://localhost:8080/test.html"
"url": "http://localhost:8080/test.html",
},
"_dd": {
"document_version": 2,
"drift": 0,
"format_version": 2,
"session": {
"plan": 2
"replay_stats": {
"records_count": 10,
"segments_count": 1,
"segments_total_raw_size": 10
}
}
},
Expand Down Expand Up @@ -159,10 +162,7 @@ class WebEventIntegrationTests: XCTestCase {
"_dd": {
"document_version": 2,
"drift": 0,
"format_version": 2,
"session": {
"plan": 1
}
"format_version": 2
}
}
"""
Expand Down
Loading