Skip to content

feat: add Salesforce POC with view tracking and e2e tests#4518

Draft
BeltranBulbarellaDD wants to merge 19 commits into
mainfrom
beltran.bulbarella/salesforce_poc
Draft

feat: add Salesforce POC with view tracking and e2e tests#4518
BeltranBulbarellaDD wants to merge 19 commits into
mainfrom
beltran.bulbarella/salesforce_poc

Conversation

@BeltranBulbarellaDD
Copy link
Copy Markdown
Contributor

Motivation

Changes

Test instructions

Checklist

  • Tested locally
  • Tested on staging
  • Added unit tests for this change.
  • Added e2e/integration tests for this change.
  • Updated documentation and/or relevant AGENTS.md file

@cit-pr-commenter-54b7da
Copy link
Copy Markdown

cit-pr-commenter-54b7da Bot commented Apr 22, 2026

Bundles Sizes Evolution

📦 Bundle Name Base Size Local Size 𝚫 𝚫% Status
Rum 179.27 KiB 180.04 KiB +788 B +0.43%
Rum Profiler 6.16 KiB 6.16 KiB 0 B 0.00%
Rum Recorder 27.03 KiB 27.03 KiB 0 B 0.00%
Logs 56.65 KiB 57.02 KiB +384 B +0.66%
Rum Slim 135.11 KiB 135.86 KiB +766 B +0.55%
Worker 23.63 KiB 23.63 KiB 0 B 0.00%
🚀 CPU Performance

Pending...

🧠 Memory Performance

Pending...

🔗 RealWorld

@datadog-prod-us1-6
Copy link
Copy Markdown

datadog-prod-us1-6 Bot commented Apr 22, 2026

Tests

Fix all issues with BitsAI or with Cursor

⚠️ Warnings

🧪 3 Tests failed

salesforce view tracker replaces the pending loading time candidate when a later resource is detected from Chrome Headless 146.0.0.0 (Linux 0.0.0)   View in Datadog   (Fix with Cursor)
Expected spy unknown to have been called only once, and with given args:
  [  ]
But it was never called.


Error: Expected spy unknown to have been called only once, and with given args:
  [  ]
But it was never called.
    at <Jasmine>
    at UserContext.<anonymous> (/go/src/github.com/DataDog/browser-sdk/packages/rum/src/domain/salesforce/viewTracker.spec.ts:155:32 <- /tmp/_karma_webpack_740222/commons.js:437912:36)
...
salesforce view tracker resets the resource timing state when a new Salesforce view starts from Chrome Headless 146.0.0.0 (Linux 0.0.0)   View in Datadog   (Fix with Cursor)
Error: Expected spy unknown to have been called 2 times. It was called 0 times.
    at <Jasmine>
    at UserContext.<anonymous> (/go/src/github.com/DataDog/browser-sdk/packages/rum/src/domain/salesforce/viewTracker.spec.ts:184:32 <- /tmp/_karma_webpack_740222/commons.js:437934:36)
    at <Jasmine>
salesforce view tracker sets the view loading time after one idle polling interval from Chrome Headless 146.0.0.0 (Linux 0.0.0)   View in Datadog   (Fix with Cursor)
Expected spy unknown to have been called only once, and with given args:
  [  ]
But it was never called.


Error: Expected spy unknown to have been called only once, and with given args:
  [  ]
But it was never called.
    at <Jasmine>
    at UserContext.<anonymous> (/go/src/github.com/DataDog/browser-sdk/packages/rum/src/domain/salesforce/viewTracker.spec.ts:134:32 <- /tmp/_karma_webpack_740222/commons.js:437897:36)
...

ℹ️ Info

No other issues found (see more)

❄️ No new flaky tests detected

🎯 Code Coverage (details)
Patch Coverage: 61.34%
Overall Coverage: 76.48% (-0.53%)

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 54b3c6c | Docs | Datadog PR Page | Give us feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant