VRTs – Visual Regression Tests is a plugin to test your website for unwanted visual changes. The plugin runs automatic daily tests for chosen pages and posts. The tool creates daily comparison screenshots and compares them with a reference snapshot. If there is a difference between the screenshots, you’ll be automatically notified via email. Use three comparison modes to spot the differences easily.
Please note: The website must be publicly accessible in order to set up and run the tests. Password protection or any kind of firewall might prevent the plugin from working correctly.
YOUR STRATEGY TO SPOT UNWANTED CHANGES
How do you usually check your website after updates and code changes? Do you go manually through all pages or do you just hope everything will run ok? Visual regression testing provides you a method that helps you find errors and visual abnormalities. The VRTs plugin gives you an environment to automate your process.
- Activate daily tests for any page or post: Upon activation, a reference screenshot is taken. This will be renewed when a post is saved or updated.
- Receive instant alerts: If a change is detected between the snapshot and the comparison screenshot, the plugin will create an alert and notify you via email. The daily test will be paused, until the alert is resolved.
- Compare two screenshots: Detect differences between the two snapshots with the difference, split screen or side-by-side view.
- Exclude elements: Prevent false positives by excluding dynamic elements, ads and animations from snapshots.
- Resolve tests: After fixing an issue, mark the alert as resolved. A new snapshot will be generated and the test will start running again.
In which cases can visual regression testing help you spot issues?
- Plugin and core software updates
- Manual code changes
- External software and API issues
- Server issues
- Malware and other malicious code
- Missing quality assurance
- Instant first test: After plugin activation, the homepage is immediately monitored and alerts are sent to the stored admin email.
- Daily Tests: The plugin automatically scans selected posts and pages daily. It validates the visual content by comparing two screenshots.
- 3 comparison modi: Choose between three ways to compare snapshots – Difference, Split, Side-by-Side view.
- Instant alerts: As soon as a change is detected between the snapshot and the comparison screenshot, you will be notified via email.
- GDPR compliant: Snapshots are stored on European servers. We do not collect any personal data.
- Cross-team: Team members with admin rights can create and view tests and work together on the immediate solution.
- test up to 3 pages
- on one domain
- automatic daily tests
Do you like VRTs and want to run more tests?
Unlock more features with our paid plans:
- test up to 500 pages in total
- on multiple domains
- with automatic daily test
- and unlimited manual tests
- add multiple alert recipients
- get e-mail support
- and access to new features
You found a bug? Please report it by creating an issue on the support forum.
You want to learn more about VRTs?
Official product page:
INSTALL VRTS WITHIN WORDPRESS
- Open Plugins > Add new
- Search for Visual Regression Tests
- Click install and activate the plugin
INSTALL VRTS MANUALLY THROUGH FTP
- Download the plugin on the WordPress plugin page
- Upload the ‘visual-regression-tests’ folder to the /wp-content/plugins/ directory
- Activate the VRTs plugin through the ‘Plugins’ menu in WordPress
- By default: The homepage is immediately monitored and alerts are sent to the stored admin email.
- Open the settings to configure who should receive alerts.
- Open a page or post to activate more tests.
UPGRADE TO VRTS PRO
- Open VRTs > Upgrade
- Click Buy Pro
- Enter license key you have received after purchasing the plugin
What is Visual Regression Testing?
With visual regression testing, you can detect errors and unwanted changes on your website by comparing a previous state of the website with a more recent one. For example, errors in the frontend can be caused by plugin updates and changes. For small websites, you may be able to find them right away, but for complex websites, it becomes difficult. A tool can help by taking pictures of pages and posts to detect visual changes and inform you automatically.
How does visual regression testing work?
Tests can be done manually, pixel-by-pixel, DOM-based or AI-based. In all cases you compare an earlier website state with a newer website state. Our Visual Regression Tests Plugin takes periodical screenshots and compares them on a split screen.
Why should I use a tool for visual regression tests?
You can do visual testing either manually or with automated tools. Checking your website for errors manually is time-consuming and less accurate. Automated tests may find errors that are minimal and irrelevant. But the chance of finding critical errors is much higher with a tool. As soon as you discover an error, you’ll receive a warning so that you can fix the problem as soon as possible.
Is the testing done on my server?
Screenshots and comparisons are performed on an external server and sent to your WordPress website. Only required meta data is stored in your database.
Why are email notifications not working properly?
If our external screenshot service can not access your WordPress installation directly, test status updates and sending emails will be handled by the WP-Cron system. In order to be notified by the plugin about new alerts, please make sure that your WordPress instance can send emails and that the WordPress cron system is set up correctly. The default configuration of the WordPress cron system does not work reliably if you cache your site heavily, do not have frequent visitors or do not use wp-admin regularly. In this case, you should hook the WP-Cron into the system task scheduler, or use an external cron job scheduling service.
Yes, cookie banners are not an issue. Before taking a snapshot, the tool can automatically trigger the Accept button to hide the banner. This option can be configured with CSS selectors in the plugin settings.
Bijdragers & ontwikkelaars
“VRTs – Visual Regression Tests” is open source software. De volgende personen hebben bijgedragen aan deze plugin.Bijdragers
Interesse in ontwikkeling?
- Changed internal option name.
- Fixed issues with empty rest data on post update
- Fixed test status display
- Fixed url display in alerts list table
- Added ability to trigger tests manually in specific plans
- Fixed text domains for translation usage.
- Added ability to hide elements on the page during screenshot with a css selector. Editable per test via quick edit or on the post’s edit page.
- Improved outdated base screenshots are removed after fixing an alert or changing a posts content.
- Improved functionality to create alerts only if pixel difference is > 1
- Show the current plan on the update page
- Changed initial validation logic
- Made functionality work with protected websites
- Added cron job to fetch test results
- Allowed adding of tests for unpublished posts
- Improved code structure
- Improved communication with external service
- Improved block editor compatibility and functionality with rest api
- Fixed an issue that crashes the Gutenberg editor after upgrading to WordPress 6.2
- Improved metabox behaviour inside the Gutenberg editor
- Fixed tests and alerts search
- Fixed url verification for sites using the WPML plugin
- Fixed url validation on plugin update
- Fixed license validations and notifications
- Fixed alert pixel count
- Fixed alert view metabox pixel count
- Fixed status codes for admin ajax
- Added notification messages if site is moved
- Added notification inside metabox when service is not available
- Improved license handling when license is added / removed
- Improved data removal on plugin uninstall
- Improved notifications logic inside metabox
- Minor UI/UX adjustments and improvements
- Fixed an issue with the add new test modal in specific cases
- Fixed notification email site url
- Added admin-ajax fallback functionality
- Added messages for error when connecting to external service
- Improved plugin deactivation & activation
- Improved test deletion
- General UI/UX adjustments and improvements
- Initial Release