VRTs – Visual Regression Tests

Descripcion

Find issues before others do – every time. With automatic screenshots, daily comparisons, and instant tests after WordPress and plugin updates. Select the pages of your choice for continuous monitoring. The plugin immediately notifies you of any visual changes it detects.

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 check your website after updates and code changes? Do you manually go through pages, or do you just cross your fingers, hoping everything will be okay? Visual regression testing provides a better way to spot issues and detect visual changes. The VRTs plugin automates testing for you with a click of a button.

  1. Activate tests for any page or post: Upon activation, a reference screenshot is taken. This will be renewed when a post is saved or updated.
  2. VRTs monitors your pages: Every day, VRTs captures and compares screenshots of your selected pages. Upgrade to Pro to automate tests for WordPress updates, integrate deployment pipelines via API, and run manual tests on demand.
  3. Receive instant alerts: If a change is detected between the snapshot and the comparison screenshot, the plugin will notify you via email.
  4. Review changes: The difference view makes it easy to spot changes, while the comparison slider lets you inspect the details.
  5. Hide elements: Prevent false positives by excluding dynamic elements, ads, and animations from snapshots.

Use cases

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

Features

  • No Setup: After plugin activation, the frontpage is immediately monitored and alerts are sent to the WordPress admin email.
  • Daily Tests: The plugin monitors selected posts and pages and compares screenshots daily.
  • Hide Elements: Hide dynamic or irrelevant elements to prevent false positives in your tests.
  • Click Element: Define an element that should be clicked before taking a screenshot. This is useful for closing cookie banners or modals.
  • Email Notifications: As soon as a change is detected between the snapshot and the comparison screenshot, you will be notified via email.
  • Fullscreen Review: Inspect changes up close using the difference view and comparison slider in fullscreen mode.
  • Read / Unread: Keep track of test results that require further attention by marking alerts as unread.
  • Flag False Positives: Identify acceptable changes or non-issues to minimize unnecessary notifications.
  • Update Automation (Pro): Automatically trigger tests on WordPress core, plugin, theme, or language updates and catch any issues right away.
  • Manual Testing (Pro): Run tests manually on demand, either for all configured pages or for specific pages, to verify any changes or global edits immediately.
  • API Integration (Pro): Trigger tests via PHP scripts or WP CLI for integration with other tools, deployment pipelines, or custom automations.
  • Customizable Notifications (Pro): Specify email addresses for each trigger, to set up notifications for various teams or stakeholders.

Free forever

  • Test up to 3 pages
  • On one domain
  • Automatic daily tests

Go Pro

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
  • Scheduled daily tests
  • Multiple alert recipient groups by alert type
  • Manual tests (unlimited)
  • API access (unlimited) Read the docs.
  • Automatic tests after WordPress updates, plugin updates and plugin installations

See pricing plans

Bug reports

You found a bug? Please report it by creating an issue on the support forum.

Read more

Want to learn more about VRTs?
Visit our website: vrts.app

Screenshots

  • Review changes using the difference view and comparison slider.
  • Get an overview of all past test runs, their triggers and detected changes.
  • Manage all your registered test pages.
  • Activate tests right within the editor.
  • Specify multiple alert recipients for each trigger (Pro Feature).
  • Run unlimited manual tests at any time (Pro Feature).

Installacion

INSTALL VRTS WITHIN WORDPRESS

(recommended)

  1. Open Plugins > Add new
  2. Search for vrts
  3. Click install and activate the plugin

INSTALL VRTS MANUALLY THROUGH FTP

  1. Download the plugin on the WordPress plugin page
  2. Upload the ‘visual-regression-tests’ folder to the /wp-content/plugins/ directory
  3. Activate the VRTs plugin through the ‘Plugins’ menu in WordPress

AFTER ACTIVATION

  • 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

  1. Open VRTs > Upgrade
  2. Click Buy Pro
  3. Enter license key you have received after purchasing the plugin

FAQ

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 one. 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 cannot 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.

Does the plugin work with cookie consent banners?

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.

Can I test custom post type archives with VRTs?

The VRTs plugin primarily supports WordPress pages and posts. Automated visual testing of pages with dynamically changing content can lead to false positives. However, you can test such pages by following these steps:

  • Create a new blank page or post in WordPress.
  • Set up a redirect from this page to your desired URL.
  • Configure a test for this page. The screenshotter will follow the redirect.

How do I prevent screenshots from getting blocked?

If your firewall is blocking our screenshot service, whitelist our IP address to resolve this: 49.13.14.240.

For Cloudflare, follow these steps:

  1. Log in to your Cloudflare account.
  2. Navigate to Security WAF.
  3. Click on Tools.
  4. In the IP Access Rules box, enter 49.13.14.240.
  5. Select Allow from the action dropdown.
  6. Add “VRTs” as the note.
  7. Click Add.

Reviews

22 febrièr 2024
Being able to monitor all my sites for those strange visual changes that sometimes happen after a theme or plugin update is priceless. I’ve worked a bit with support to streamline/exclude some elements of my pages that move, like a video header or carousel or animated button, and I now have this very trustworthy tool to alert me if a site gets wonky. Beyond that, the team working on this plugin is kind and super responsive and open to feedback, which is definitely a big plus. I do have Pro, but the Free works equally as well if you don’t need to trigger manual tests (which I find useful to do after doing updates I know will cause an alert so I don’t have to wait for it the next day). Other VRT solutions I found want a bunch of money per site and that just isn’t realistic for us freelance web folks. This plugin is GREAT!!!
23 abril 2023
I absolutely love this tool and highly recommend it to any freelancers updating multiple sites on a regular basis. It provides a level of comfort because it will catch changes and errors automatically rather than waiting to hear from a client or scrolling way too many pages to assure no errors after updates.
15 decembre 2022
DISCLAIMER: Yes I work for the company, but I have worked for many companies and I never recommended a product which I was not convinced of. And because I still have 30+ years until retirement, the time for me to move on will come and I don’t want to undermine my credibility and come in a situation where they tell me in my new company « So, you recommended this tool, it was horrible! »And I also work in support, so the last thing I want is to have for example our clients install a tool that brings me headache. Considering all this, I can only recommend this tool. It makes monitoring a website so much easier and I already don’t want to work without it anymore.But don’t believe my words, test it yourself and you will see what I mean. 
6 decembre 2022
It’s very convenient to track visual bugs or editor’s errors and prevent them from getting to the production site. Disclaimer: I work at the company that built this plugin and we use it for our clients websites, it does its job well.
5 decembre 2022 2 replies
tja. right now we can’t do anything with the plugin : the « add new » test button is disabled. i have tested and verified this on several wordpress installs with various sets of install plugins – including a fresh clean install. the only published version of this plugin right now is 1.0.0 which leads me to think that the four previous reviews are probably fake. one of them even has the author company name in its nickname (mykolableech) another one has only one other plugin review, and that is on another bleech plugin (skil3e) the other two reviews are by very recent accounts : both created just before posting the review. come on guys, this plugin has very promising features and huge potential. the product page on your website is very exciting. i have been waiting for the release for a long time… i even had a pagescreen monitor on your website to make sure i didn’t miss it ! (such irony) you can do better than this ! i’ll edit this review if anything changes.
Read all 9 reviews

Contributors & Developers

“VRTs – Visual Regression Tests” is open source software. The following people have contributed to this plugin.

Contributors

“VRTs – Visual Regression Tests” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “VRTs – Visual Regression Tests” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

2.0.2

  • Fixed empty and stalled Runs
  • Fixed runs queue pagination
  • Fixed wrong test status and the associated current alert
  • Fixed wrong translations info for update trigger

2.0.1

  • Fixed issue with wrong alerts count in Runs
  • Fixed few minor styling issues
  • Removed deprecated notice

2.0.0

  • Introduced Runs
  • New test review experience
  • Automatic tests for WordPress and plugin updates
  • Customizable notification recipients for each trigger

1.9.1

  • Fixed alerts pagination SQL query compatibility with MySQL 5.7 and lower.

1.9.0

  • Test now run continuously and do not pause upon alerts.
  • Added onboarding for tests and alerts.
  • Fixed character encoding in alert emails.
  • Improved test status display inside the Gutenberg editor and classic metaboxes.
  • Removed pagination for tests.
  • Minor wording and styling changes.

1.8.0

  • Added option to mark alerts as false positive.
  • Improved tests order by status.
  • Minor wording and styling changes.

1.7.1

  • Fixed issue with uninstalling the plugin.

1.7.0

  • Fixed issue with formatted entities for page title inside email notifications.
  • Added bulk action « Add to VRTs » for all public post types.
  • Improved test status display flow.

1.6.0

  • Fixed WordPress 6.4 deprecated notices for list tables.
  • Added hook allowing developers to run tests by calling do_action( 'vrts_run_tests' ).
  • Added test page title and url to email notifications.

1.5.2

  • Changed internal option name.

1.5.1

  • Fixed issues with empty rest data on post update

1.5.0

  • Fixed test status display
  • Fixed url display in alerts list table
  • Added ability to trigger tests manually in specific plans

1.4.0

  • 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.

1.3.1

  • Improved functionality to create alerts only if pixel difference is > 1
  • Show the current plan on the update page

1.3.0

  • 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

1.2.4

  • Fixed an issue that crashes the Gutenberg editor after upgrading to WordPress 6.2
  • Improved metabox behaviour inside the Gutenberg editor

1.2.3

  • Fixed tests and alerts search

1.2.2

  • Fixed url verification for sites using the WPML plugin

1.2.1

  • Fixed url validation on plugin update

1.2

  • 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

1.1

  • 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

1.0

  • Initial Release