Skip to content

✅ Add Experience Cloud E2E tests#4866

Draft
BeltranBulbarellaDD wants to merge 2 commits into
beltran.bulbarella/add_experience-cloud-sf_appfrom
beltran.bulbarella/add_experience-cloud_e2e-tests
Draft

✅ Add Experience Cloud E2E tests#4866
BeltranBulbarellaDD wants to merge 2 commits into
beltran.bulbarella/add_experience-cloud-sf_appfrom
beltran.bulbarella/add_experience-cloud_e2e-tests

Conversation

@BeltranBulbarellaDD

@BeltranBulbarellaDD BeltranBulbarellaDD commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Motivation

After adding the 2 Experience Cloud Applications in PR, now it's time to add the E2E tests.

Changes

Extend the SetupFactory to support Salesforce page.route and create a salesforceSetup that handles the local rum_slim bundle replacement, adds the headmarkup script and injects the init configuration so test applications can read from it.

Simplifies SF test scenario by running a for-loop for all 3 cases, making sure they are all tested in the same way.

Test instructions

Tests should be good, CI should pass.

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

@datadog-official

datadog-official Bot commented Jul 10, 2026

Copy link
Copy Markdown

Pipelines  Tests

Fix all issues with BitsAI

⚠️ Warnings

🚦 2 Pipeline jobs failed

DataDog/browser-sdk | e2e: [chromium]   View in Datadog   GitLab

🧪 5 Tests failed

salesforce lwc actions from salesforceLwc.scenario.ts   View in Datadog
Test timeout of 30000ms exceeded.

[chromium] › salesforceLwc.scenario.ts:76:13 › salesforce lwc actions ────────────────────────────

    Test timeout of 30000ms exceeded.

    Error: page.evaluate: Target page, context or browser has been closed

       at ../lib/framework/waitForRequests.ts:15

...
salesforce lwc errors from salesforceLwc.scenario.ts   View in Datadog
Test timeout of 30000ms exceeded.

[chromium] › salesforceLwc.scenario.ts:97:13 › salesforce lwc errors ─────────────────────────────

    Test timeout of 30000ms exceeded.

    Error: page.evaluate: Target page, context or browser has been closed

       at ../lib/framework/waitForRequests.ts:15

...
View all failed tests

Lint PR title | lint   View in Datadog   GitHub Actions

ℹ️ Info

No other issues found (see more)

❄️ No new flaky tests detected

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 77.25% (+0.00%)

Useful? React with 👍 / 👎

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

…ltran.bulbarella/add_experience-cloud_e2e-tests
@cit-pr-commenter-54b7da

Copy link
Copy Markdown

Bundles Sizes Evolution

📦 Bundle Name Base Size Local Size 𝚫 𝚫% Status
Rum 178.22 KiB 178.22 KiB 0 B 0.00%
Rum Profiler 8.22 KiB 8.22 KiB 0 B 0.00%
Rum Recorder 21.12 KiB 21.12 KiB 0 B 0.00%
Logs 55.53 KiB 55.53 KiB 0 B 0.00%
Rum Slim 136.28 KiB 136.28 KiB 0 B 0.00%
Worker 22.96 KiB 22.96 KiB 0 B 0.00%

@BeltranBulbarellaDD BeltranBulbarellaDD changed the title Add Experience Cloud E2E tests ✅ Add Experience Cloud E2E tests Jul 10, 2026
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