Linux 软件免费装
Banner图

VRTs - Visual Regression Tests

开发者 bleechberlin
更新时间 2024年11月8日 17:32
PHP版本: 7.0 及以上
WordPress版本: 6.6.2
版权: GPLv2 or later
版权网址: 版权信息

标签

visual tests regression vrts visual regression

下载

1.2.0 2.0.1 2.0.0 1.1.0 1.0.0 1.2.2 1.2.4 1.3.0 1.4.0 1.2.1 1.5.1 1.9.1 1.5.2 1.2.3 1.3.1 1.5.0 1.6.0 1.7.0 1.7.1 1.8.0 1.9.0

详情介绍:

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? Features Free forever Go Pro Do you like VRTs and want to run more tests? Unlock more features with our paid plans: 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

安装:

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 UPGRADE TO VRTS PRO
  1. Open VRTs > Upgrade
  2. Click Buy Pro
  3. Enter license key you have received after purchasing the plugin

屏幕截图:

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

常见问题:

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.

更新日志:

2.0.1 2.0.0 1.9.1 1.9.0 1.8.0 1.7.1 1.7.0 1.6.0 1.5.2 1.5.1 1.5.0 1.4.0 1.3.1 1.3.0 1.2.4 1.2.3 1.2.2 1.2.1 1.2 1.1 1.0