There are several things you can do to prepare your site and your team for Autopilot before it is enabled.
Make sure that your current site configuration is compatible with Autopilot.
Autopilot allows you to define specific URLs for individual regression tests. You can define as many URLs for individual regression testing as you want during the Visual Review section of the Autopilot Wizard.
You can pre-define these URLs when you begin preparing your site for Autopilot.
We recommend that you include pages that:
Receive frequent changes
Contain key information that should be thoroughly reviewed
Appear as top links on your homepage
Receive major content updates
Certain web elements can be excluded from your visual regression testing. We recommend creating a list of web elements that you can exclude from testing before you begin to configure Autopilot.
Dynamic elements are created by your browser and only exist during runtime. Consider excluding the following dynamic web elements from your tests:
CSS and Pseudo-Elements
Static Elements with Dynamic Parts
setAttributeto change an attribute on a static element.
There might be some dynamic web elements that you don't want to completely exclude. You can adjust the threshold for acceptable change in this case. Adjusting the testing threshold will help distinguish between true test failures and false positives caused by dynamic web elements or other factors.
You will be notified of test failures that fall below the set threshold if you subscribe to Autopilot notifications.
Sites managed through Composer have less flexibility when setting exclusions in Autopilot. You can exclude Composer-installed modules or your Upstream at the highest level to keep them from being updated. However, you should avoid getting too granular with your exclusions to avoid merge conflicts.
Autopilot's visual regression tool takes before and after screenshots to check for changes. You can accept the changes page by page or accept all changes for all pages an once depending on your requirements and thresholds. It's a good idea to have multiple team members review changes when several updates and content changes have been made. You can share the test results and preview pages with stakeholders to ensure that your site has wide approval before accepting the changes.
Click More Actions in the Review Test Results page to see Autopilot data for a specific site.
Click Visit Autopilot Site under the Autopilot tab in the Dashboard to view the site preview in a new browser tab.
Share this preview link with stakeholders and request their approval.
Encourage your stakeholders to enable Autopilot notifications.