Your internal users can ring IT when something breaks. Your portal users can’t. They’re customers, partners, brokers and anonymous visitors, and the first sign of a broken Experience Cloud site is often a complaint, or worse, a screenshot of someone else’s data.
What is Experience Cloud Regression Testing?
Experience Cloud regression testing re-checks published Salesforce sites as the people who use them, guests, customers and partners, covering the journeys they come for and, just as carefully, what each audience must never see.
Test the journeys people come for, such as self-service, case submission, account management, quoting or claims. Start from the public login page and follow each journey through to the records created inside Salesforce. Assert what each audience can and can’t see, because a portal defect that exposes another customer’s data is a security incident, not a bug.
And test the published site, not only the builder preview. Modern LWR sites serve a snapshot taken at publish time, so what you test has to be what customers actually get.
How Experience Cloud Sites Differ From the Internal Org
Salesforce documents several differences in behaviour in LWR sites, and most of them change how you test.
Two Site Frameworks
Aura sites render components dynamically at runtime. LWR sites freeze components when the site is published and serve them statically, with heavy caching. A change to an LWR site only appears after a republish, so a test run before publishing tests something no customer will see.
Publishing Is a Release Step
A configuration or component change can be correct in the builder and absent on the live site until it’s published. Caching can delay what visitors see even after that. Treat publish as a deployment, with its own regression run.
A Different Security Architecture
LWR sites use Lightning Web Security rather than Lightning Locker. That changes how components behave and how they’re reached, so a component that worked on an Aura site can behave differently after a move to LWR.
Different URLs
LWR sites support custom URL paths without the /s segment Aura sites use. Tests and links written for one framework won’t fit the other, which matters most during a migration between them.
External Users, Guests and Public Exposure
Each site has its own guest user for anonymous visitors. External members have their own licences, roles, sharing sets and organisation-wide defaults. And because sites face the internet, failures and data leaks are visible the moment they happen.
The practical upshot is three rules. Know which framework each site uses, test after publishing, and treat access as a first-class part of every journey.
Which Portal Journeys Need Regression Testing
Site type | Journeys to regression test | Checks inside Salesforce and beyond |
|---|---|---|
Customer service portal | Search knowledge, submit a case, add a comment, check status, chat with a service agent | Case created with the right account, contact, record type and routing, and the agent handoff works |
Customer account portal | Register, sign in, update details, view orders, invoices or policies | Contact and account updated correctly, and data shown matches the system of record |
Partner portal | Register a deal, convert a lead, request a discount, view commissions | Opportunity ownership and sharing correct, approval routed, commission data matches finance |
Broker or agent portal | Quote, bind, submit a claim, view a book of business | Transaction reaches the policy or core platform, and only the broker’s own clients are visible |
Public pages | Content, forms, lead capture, appointment booking | Records created as the guest user with the right defaults, and no internal data exposed |
🧭 See how portal journeys connect to the records and systems behind them in our article on Salesforce end-to-end testing.
Add three cross-cutting checks to every site’s suite. Test registration and sign-in, including password reset and any single sign-on or social login. Test on mobile browsers, since many visitors arrive on phones. And test the live site after each publish, to confirm the snapshot customers see matches what was tested.
♿ Make keyboard and screen reader checks part of every portal run with our guide to accessibility testing for Salesforce and Experience Cloud.
🔐 Automate registration, password reset and single sign-on without weakening security, using our guide to handling Salesforce login, MFA and SSO in automated tests.
Testing the Data Boundaries Between Audiences
The most damaging Experience Cloud defects aren’t broken pages. They’re pages that work and show the wrong person the wrong data. Misconfigured guest access and external sharing are well-known causes of portal data exposure, which is why Salesforce has tightened guest user defaults over several releases. Under GDPR and UK GDPR, an exposure like that can also become a reportable personal data breach, so these checks belong in regression, not only in an annual security review.

Guest User Boundaries
As an anonymous visitor, confirm you can’t reach records, files or lists beyond what the public pages are meant to show. That includes changing record IDs in URLs and calling exposed APIs directly.
Member Isolation
Signed in as customer A, confirm customer B’s cases, orders, policies and documents are invisible everywhere. Check lists, search, related records, reports and direct links.
Partner Scoping
Partner users should see their own accounts and deals, and their managers should see their team’s. Nobody should see a competing partner’s.
Field-Level Exposure
Sensitive fields, such as internal notes, credit limits or health information, shouldn’t appear on portal pages, in exports or in component data.
Registration and Self-Service Abuse
Self-registration shouldn’t let a new user attach to someone else’s account, and password reset shouldn’t open a route to account takeover.
Run these after every site publish, every sharing or permission change and every Salesforce release. Access defects arrive quietly.
Testing the Site Customers Actually Get, With Virtuoso QA
Virtuoso QA tests Experience Cloud sites through the browser, against the published site, as each audience. A journey can visit as an anonymous guest, register and sign in as a customer, or work as a partner user, and the same plain-English steps run on both LWR and Aura sites.
The “must not see” checks are journeys too. Signed in as one customer, a journey can try a direct link to another customer’s case and assert it’s refused. Data tables hold the audiences and records, so the full grid of who-sees-what runs from a small number of journeys. And because portal journeys create real work, API steps follow them into Salesforce and connected systems to confirm the case, order or claim arrived with the right owner and sharing.
Runs can be scheduled after each publish and during every sandbox preview, on more than 2,000 browser and device combinations, including mobile browsers.
💡 Regression test every published portal as guests, customers and partners, and prove each one sees only its own data, with Virtuoso QA’s Salesforce test automation.












