Newer Version Available
The Development Process and the Importance of Testing
For instance, we don’t recommend developing for the Salesforce app exclusively on your desktop or laptop and testing your pages by navigating to the /one/one.app URL. The Salesforce app and Lightning Experience share the one.app container depending on the device that connects to it. While you can fool /one/one.app by changing your browser’s user agent, this can lead to bugs down the line—desktop and mobile browsers can behave very differently.
If you’re developing functionality that you need to support across a range of possibilities, your test plan should take into consideration the need to test across:
- Each different supported device.
- Each different supported operating system.
- Each different supported browser—including the Salesforce app, which embeds its own.
- Each different supported user interface context (Lightning Experience, Salesforce Classic, and the Salesforce app).
Running the Salesforce app in an emulator isn’t supported for normal use. We understand that device emulators are convenient. But they aren’t a substitute for full testing of your custom apps and pages on your organization’s supported mobile devices. During development, regularly test your app on every device and platform on which you intend to deploy.