Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Develop Offline-Ready LWCs with the LWC Offline Test Harness
Test Harness provides error, warning, and info logs for your LWCs as it loads, runs, and interacts with Salesforce. View logging details for your data sync via the drafts queue, inspect Lightning logs from Debug Console, and attach Chrome and Safari debuggers to view the JavaScript console of the webview your LWCs run in.
Test Harness helps you confirm that your LWCs work as expected in LWC Offline-based environments and are ready for integration testing within an offline-enabled Salesforce mobile app.
Features
- Uses the latest version of LWC Offline, with all mobile capabilities, including those in developer preview.
- Quick and convenient app flow, centered around launching LWC quick actions with a selected SObject.
- Visible draft queue, for viewing the status of pending data modification operations.
- Debug Console embedded into the app, for both a broad view of ongoing tasks and granular inspection of log messages.
- Immediate, on-demand app reloads for quickly re-bootstrapping and re-running your latest LWC code changes.
- Attach browser debuggers to view more developer-specific errors and warnings from the LWC webview.