Skip to content

🔧 Add Salesforce Experience Cloud testing app#4861

Open
BeltranBulbarellaDD wants to merge 7 commits into
mainfrom
beltran.bulbarella/add_experience-cloud-sf_app
Open

🔧 Add Salesforce Experience Cloud testing app#4861
BeltranBulbarellaDD wants to merge 7 commits into
mainfrom
beltran.bulbarella/add_experience-cloud-sf_app

Conversation

@BeltranBulbarellaDD

@BeltranBulbarellaDD BeltranBulbarellaDD commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Motivation

Adds Experience Cloud testing application for Salesforce LWC.
You can see the following work in this PR

Changes

Created new sf-experience-app which inits the SDK when query param ?init=true. This way we can leverage this test app to test both regular init and head markup.

Updated build-test-apps to build rum-slim into this application too.

Updated and renamed scripts/salesforce-lwc-apps.ts to build and deploy also this app.

I left out the CSP config and Intake file because we already deploy it to the sandbox org when building and deploying the lwc-app.

Test instructions

N/A. CI should pass normally.

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

@BeltranBulbarellaDD BeltranBulbarellaDD requested a review from a team as a code owner July 9, 2026 12:14
@datadog-datadog-prod-us1

datadog-datadog-prod-us1 Bot commented Jul 9, 2026

Copy link
Copy Markdown

Pipelines  Tests

Fix all issues with BitsAI

⚠️ Warnings

🚦 1 Pipeline job failed

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

🧪 1 Test failed

salesforce views from salesforce/salesforceLwc.scenario.ts   View in Datadog
Test timeout of 30000ms exceeded.

[chromium] › salesforce/salesforceLwc.scenario.ts:25:11 › salesforce views ───────────────────────

    Test timeout of 30000ms exceeded.

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

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

...

ℹ️ 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: 938bff1 | Docs | Datadog PR Page | Give us feedback!

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 839a4f1fdd

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/build/build-test-apps.ts Outdated
Comment thread scripts/salesforce-lwc-apps.ts Outdated
Comment thread scripts/salesforce-lwc-apps.ts
@cit-pr-commenter-54b7da

cit-pr-commenter-54b7da Bot commented Jul 9, 2026

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%

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f1fe5b5831

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/salesforce-lwc-apps.ts
@sbarrio sbarrio requested a review from bdibon July 10, 2026 07:06

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d916af2ade

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@@ -0,0 +1,141 @@
# SF Experience App

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Next step after adding the e2e tests, I'll move this readme and the one of SF-LWC-APP to a dedicated package.

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