{"id":30390,"date":"2021-08-25T17:32:25","date_gmt":"2021-08-25T17:32:25","guid":{"rendered":"https:\/\/app14743.cloudwayssites.com\/?p=30390"},"modified":"2023-01-09T17:46:07","modified_gmt":"2023-01-10T01:46:07","slug":"instant-visual-testing-coverage-with-the-applitools-visual-diff-plugin-for-netlify","status":"publish","type":"post","link":"https:\/\/app14743.cloudwayssites.com\/blog\/instant-visual-testing-coverage-with-the-applitools-visual-diff-plugin-for-netlify\/","title":{"rendered":"Automatically Run Visual Tests on Every Netlify Deploy"},"content":{"rendered":"\n<p>Running tests shouldn&#8217;t be an afterthought, but it can seem challenging to dive in with the huge variety of frameworks and simply not knowing <em>what<\/em> to test. Instead, we can use Netlify Build Plugins to instantly add automated visual testing to every deployment in just a few clicks with the Applitools Visual Diff Plugin.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-what-is-a-netlify-build-plugin\">What is a Netlify Build Plugin?<\/h2>\n\n\n\n<p><a href=\"https:\/\/www.netlify.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Netlify<\/a> is a hosting and deployment platform that automates taking a web app and publishing it to the web. This also includes the ability to deploy serverless functions, allowing developers to closely develop APIs and backend logic right next to their apps.<\/p>\n\n\n\n<p>As part of that process, Netlify gives developers the ability to install <a href=\"https:\/\/www.netlify.com\/products\/build\/plugins\/\" target=\"_blank\" rel=\"noreferrer noopener\">Build Plugins<\/a>, which helps extend the default deployment allowing additional tools and services to tap.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"364\" src=\"https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/netlify-visual-diff-plugin-1024x364.jpg\" alt=\"Netlify site showing installed plugins with Visual Diff (Applitools)\" class=\"wp-image-30391\" srcset=\"https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/netlify-visual-diff-plugin-1024x364.jpg 1024w, https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/netlify-visual-diff-plugin-300x107.jpg 300w, https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/netlify-visual-diff-plugin-768x273.jpg 768w, https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/netlify-visual-diff-plugin-1536x545.jpg 1536w, https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/netlify-visual-diff-plugin.jpg 2000w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Visual diff (Applitools) plugin installed on Netlify<\/figcaption><\/figure><\/div>\n\n\n<p>This makes for a perfect opportunity for things like code analysis or custom build caching for those who don&#8217;t want to maintain it themselves, but it&#8217;s also an opportunity for adding testing, where we can start using Applitools to run visual tests without having to have any other type of infrastructure or frameworks configured.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-does-applitools-work-with-netlify-build-plugins\">How does Applitools work with Netlify Build Plugins?<\/h2>\n\n\n\n<p>With Build Plugins, Netlify provides a few different hook locations, meaning, throughout the build and deploy process, there are different steps at which point a Build Plugin can run code.<\/p>\n\n\n\n<p>One of those steps is called Post Build, where as soon as Netlify finishes building the application, we can determine all of the pages that were built and run a visual test with Applitools Eyes.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"203\" src=\"https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/netlify-build-log-onpostbuild-applitools-1024x203.jpg\" alt=\"Netlify build logs showing onPostBuild with netlify-plugin-visual-diff\" class=\"wp-image-30392\" srcset=\"https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/netlify-build-log-onpostbuild-applitools-1024x203.jpg 1024w, https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/netlify-build-log-onpostbuild-applitools-300x60.jpg 300w, https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/netlify-build-log-onpostbuild-applitools-768x152.jpg 768w, https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/netlify-build-log-onpostbuild-applitools-1536x305.jpg 1536w, https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/netlify-build-log-onpostbuild-applitools-1680x331.jpg 1680w, https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/netlify-build-log-onpostbuild-applitools.jpg 2000w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Running applitools on Netlify Post Build<\/figcaption><\/figure><\/div>\n\n\n<p>This provides instant, broad coverage for web apps, making sure that each time we deploy the site, we&#8217;re not creating any new regressions or visual bugs.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-to-get-started-with-the-applitools-build-plugin\">How to get started with the Applitools Build Plugin?<\/h2>\n\n\n\n<p>If you&#8217;re already up and running with Netlify, the only thing you need to get started is a <a href=\"https:\/\/auth.applitools.com\/users\/register\" target=\"_blank\" rel=\"noreferrer noopener\">free Applitools account<\/a>. Otherwise, this plugin only works for Netlify-deployed applications.<\/p>\n\n\n\n<p>With your account, you&#8217;ll want to be able to locate your Applitools API key. You can <a href=\"https:\/\/app14743.cloudwayssites.com\/tutorials\/getting-started\/setting-up-your-environment.html#finding-your-api-key\" target=\"_blank\" rel=\"noreferrer noopener\">find your API key<\/a> inside of your Applitools dashboard under the account dropdown and by selecting My API Key.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"399\" src=\"https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/applitools-api-key-1-1024x399.gif\" alt=\"Finding and copying your API key in the Applitools dashboard\" class=\"wp-image-30395\" srcset=\"https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/applitools-api-key-1-1024x399.gif 1024w, https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/applitools-api-key-1-300x117.gif 300w, https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/applitools-api-key-1-768x299.gif 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Finding your Applitools API key<\/figcaption><\/figure><\/div>\n\n\n<p>Once you&#8217;re ready to go, there are two ways to install the Visual Diff plugin: using the Netlify dashboard or using the Netlify configuration file in your project.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Note: to use advanced settings such as custom browser configurations and ignore regions, you&#8217;ll need to use Option 2, using the Netlify configuration file in your project.<\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-option-1-adding-the-applitools-visual-diff-plugin-with-the-netlify-ui\">Option 1: Adding the Applitools Visual Diff Plugin with the Netlify UI<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-setting-up-your-api-key\">Setting up your API key<\/h3>\n\n\n\n<p>To start, locate to your site inside of Netlify and navigate to the Site Settings section.<\/p>\n\n\n\n<p>Once inside, select Build &amp; deploy in the sidebar and scroll down to Environment.<\/p>\n\n\n\n<p>Here, we want to click Edit variables, where we&#8217;re going to add a new variable.<\/p>\n\n\n\n<p>For the name, add <code>APPLITOOLS_API_KEY<\/code>.<\/p>\n\n\n\n<p>For the value, add your unique Applitools API key.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"304\" src=\"https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/netlify-environment-variable-applitools-api-key-1024x304.jpg\" alt=\"Environment variables section in Netlify showing APPLITOOLS_API_KEY\" class=\"wp-image-30396\" srcset=\"https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/netlify-environment-variable-applitools-api-key-1024x304.jpg 1024w, https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/netlify-environment-variable-applitools-api-key-300x89.jpg 300w, https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/netlify-environment-variable-applitools-api-key-768x228.jpg 768w, https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/netlify-environment-variable-applitools-api-key-1536x455.jpg 1536w, https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/netlify-environment-variable-applitools-api-key.jpg 2000w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">APPLITOOLS_API_KEY environment variable in Netlify<\/figcaption><\/figure><\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"h-adding-the-applitools-visual-diff-build-plugin\">Adding the Applitools Visual Diff Build Plugin<\/h3>\n\n\n\n<p>Next, navigate to the Plugins section of the Netlify dashboard, where it will then give you an option to go to the Netlify plugins directory.<\/p>\n\n\n\n<p>Here, you can either search for &#8220;Applitools&#8221; or scroll down to the bottom where the name of the plugin will be &#8220;Visual diff (Applitools)&#8221;.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"221\" src=\"https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/netlify-plugin-install-applitools-visual-diff-1024x221.jpg\" alt=\"Netlify plugins directory with Install button highlighted next to Visual diff (Applitools)\" class=\"wp-image-30397\" srcset=\"https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/netlify-plugin-install-applitools-visual-diff-1024x221.jpg 1024w, https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/netlify-plugin-install-applitools-visual-diff-300x65.jpg 300w, https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/netlify-plugin-install-applitools-visual-diff-768x166.jpg 768w, https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/netlify-plugin-install-applitools-visual-diff-1536x332.jpg 1536w, https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/netlify-plugin-install-applitools-visual-diff.jpg 2000w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Installing Visual diff (Applitools) plugin on Netlify<\/figcaption><\/figure><\/div>\n\n\n<p>Click the Install button, where it will then ask you to select which site you want to add it to. Find and select your site then confirm installation.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-running-a-visual-test-through-netlify\">Running a visual test through Netlify<\/h3>\n\n\n\n<p>Applitools has the ability to run visual tests by hooking into the Netlify build and deploy process, which means, we need to trigger a new deploy.<\/p>\n\n\n\n<p>Inside of the Netlify dashboard and navigate to the Deploys section.<\/p>\n\n\n\n<p>On the right, above the list of recent deployments, where you&#8217;ll see a button that says Trigger deploy. Click Trigger deploy, then select Deploy site from the dropdown.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"196\" src=\"https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/netlify-trigger-deploy-1024x196.jpg\" alt=\"Deploy site button highlighted in the Trigger deploy dropdown in Netlify\" class=\"wp-image-30398\" srcset=\"https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/netlify-trigger-deploy-1024x196.jpg 1024w, https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/netlify-trigger-deploy-300x57.jpg 300w, https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/netlify-trigger-deploy-768x147.jpg 768w, https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/netlify-trigger-deploy-1536x293.jpg 1536w, https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/netlify-trigger-deploy.jpg 2000w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Triggering a new Netlify deployment<\/figcaption><\/figure><\/div>\n\n\n<p>This will now kick off a new deployment with Netlify. You can even view the logs if you select the new deployment.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-viewing-applitools-visual-testing-results\">Viewing Applitools Visual Testing results<\/h3>\n\n\n\n<p>Once the Netlify deployment as finished, Applitools will have run through your site visually testing each page.<\/p>\n\n\n\n<p>You can now head over to the Applitools dashboard, where you&#8217;ll now see a new test with your project&#8217;s name!<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"452\" src=\"https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/applitools-dashboard-new-visual-test-1024x452.jpg\" alt=\"Applitools dashboard showing new test\" class=\"wp-image-30399\" srcset=\"https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/applitools-dashboard-new-visual-test-1024x452.jpg 1024w, https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/applitools-dashboard-new-visual-test-300x132.jpg 300w, https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/applitools-dashboard-new-visual-test-768x339.jpg 768w, https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/applitools-dashboard-new-visual-test-1536x677.jpg 1536w, https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/applitools-dashboard-new-visual-test.jpg 2000w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">New test in Applitools<\/figcaption><\/figure><\/div>\n\n\n<p>Every time you run your test after, Applitools will compare the active state of your project to this baseline and make sure everything is working as expected!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-option-2-using-a-netlify-toml-to-add-the-applitools-visual-diff-plugin-to-a-project\">Option 2: Using a netlify.toml to add the Applitools Visual Diff Plugin to a project<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-setting-up-your-api-key-1\">Setting up your API key<\/h3>\n\n\n\n<p>Even though we&#8217;re going to be setting up the plugin with our Netlify configuration file, we&#8217;ll still need to add our API key via the UI.<\/p>\n\n\n\n<p>To start, locate to your site inside of Netlify and navigate to the Site Settings section.<\/p>\n\n\n\n<p>Once inside, select Build &amp; deploy in the sidebar and scroll down to Environment.<\/p>\n\n\n\n<p>Here, we want to click Edit variables, where we&#8217;re going to add a new variable.<\/p>\n\n\n\n<p>For the name, add <code>APPLITOOLS_API_KEY<\/code>.<\/p>\n\n\n\n<p>For the value, add your unique Applitools API key.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"304\" src=\"https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/netlify-environment-variable-applitools-api-key-1024x304.jpg\" alt=\"Environment variables section in Netlify showing APPLITOOLS_API_KEY\" class=\"wp-image-30396\" srcset=\"https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/netlify-environment-variable-applitools-api-key-1024x304.jpg 1024w, https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/netlify-environment-variable-applitools-api-key-300x89.jpg 300w, https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/netlify-environment-variable-applitools-api-key-768x228.jpg 768w, https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/netlify-environment-variable-applitools-api-key-1536x455.jpg 1536w, https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/netlify-environment-variable-applitools-api-key.jpg 2000w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">APPLITOOLS_API_KEY environment variable in Netlify<\/figcaption><\/figure><\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"h-adding-the-applitools-visual-diff-build-plugin-1\">Adding the Applitools Visual Diff Build Plugin<\/h3>\n\n\n\n<p>If you don&#8217;t already have one, create a <code>netlify.toml<\/code> file inside of the root of your Netlify project.<\/p>\n\n\n\n<p>Next, add the following:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">[[plugins]]\n  package = \"netlify-plugin-visual-diff\"<\/code><\/pre>\n\n\n\n<p>This will tell Netlify that you want to use the Visual Diff plugin when deploying your site.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-running-a-visual-test-through-netlify-1\">Running a visual test through Netlify<\/h3>\n\n\n\n<p>With your new configuration, commit the new file changes and push them out to your Git repository that&#8217;s connected to Netlify.<\/p>\n\n\n\n<p>Unless disabled, this will automatically kick off a new Netlify deploy for your site which will run the visual tests during the build process!<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Note: if you have automatic deployments disabled, try going to the Deploys section and triggering a new build.<\/p>\n<\/blockquote>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-viewing-applitools-visual-testing-results-1\">Viewing Applitools Visual Testing results<\/h3>\n\n\n\n<p>Once the Netlify deployment as finished, Applitools will have run through your site visually testing each page.<\/p>\n\n\n\n<p>You can now head over to the Applitools dashboard, where you&#8217;ll now see a new test with your project&#8217;s name!<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"452\" src=\"https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/applitools-dashboard-new-visual-test-1024x452.jpg\" alt=\"Applitools dashboard showing new test\" class=\"wp-image-30399\" srcset=\"https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/applitools-dashboard-new-visual-test-1024x452.jpg 1024w, https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/applitools-dashboard-new-visual-test-300x132.jpg 300w, https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/applitools-dashboard-new-visual-test-768x339.jpg 768w, https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/applitools-dashboard-new-visual-test-1536x677.jpg 1536w, https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/applitools-dashboard-new-visual-test.jpg 2000w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">New test in Applitools<\/figcaption><\/figure><\/div>\n\n\n<p>Every time you run your test after, Applitools will compare the active state of your project to this baseline and make sure everything is working as expected!<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-optional-advanced-configuration\">Optional: Advanced Configuration<\/h3>\n\n\n\n<p>If using the <code>netlify.toml<\/code> to manage the plugin, you additionally have the option of passing in configurations via Netlify build plugin inputs.<\/p>\n\n\n\n<p>Head over to the [Applitools Visual Diff plugin GitHub](<strong>Viewing Applitools Visual Testing results<\/strong> Once the Netlify deployment as finished, Applitools will have run through your site visually testing each page. You can now head over to the Applitools dashboard, where you&#8217;ll now see a new test with your project&#8217;s name! Every time you run your test after, Applitools will compare the active state of your project to this baseline and make sure everything is working as expected! ) to learn more!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-learn-more-about-applitools\">Learn more about Applitools<\/h2>\n\n\n\n<p>Getting started with Netlify and the Applitools Build Plugin is just one of the many ways you can provide broad visual testing coverage on your project.<\/p>\n\n\n\n<p>Check out the <a href=\"https:\/\/app14743.cloudwayssites.com\/tutorials\/\" target=\"_blank\" rel=\"noreferrer noopener\">Applitools tutorials<\/a> to find your favorite framework or get in touch to <a href=\"https:\/\/app14743.cloudwayssites.com\/request-demo\/\" target=\"_blank\" rel=\"noreferrer noopener\">schedule a demo<\/a> with one of our engineers!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Running tests shouldn&#8217;t be an afterthought, but it can seem challenging to dive in with the huge variety of frameworks and simply not knowing what to test. Instead, we can&#8230;<\/p>\n","protected":false},"author":65,"featured_media":30402,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[10004],"tags":[10027,16681],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v24.5 (Yoast SEO v24.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Automatically Run Visual Tests on Every Netlify Deploy<\/title>\n<meta name=\"description\" content=\"Learn how to use Netlify Build Plugins to instantly add automated visual testing to every deployment in just a few clicks with Applitools.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/app14743.cloudwayssites.com\/blog\/instant-visual-testing-coverage-with-the-applitools-visual-diff-plugin-for-netlify\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Automatically Run Visual Tests on Every Netlify Deploy\" \/>\n<meta property=\"og:description\" content=\"Running tests shouldn&#039;t be an afterthought, but it can seem challenging to dive in with the huge variety of frameworks and simply not knowing what to\" \/>\n<meta property=\"og:url\" content=\"https:\/\/app14743.cloudwayssites.com\/blog\/instant-visual-testing-coverage-with-the-applitools-visual-diff-plugin-for-netlify\/\" \/>\n<meta property=\"og:site_name\" content=\"AI-Powered End-to-End Testing | Applitools\" \/>\n<meta property=\"article:published_time\" content=\"2021-08-25T17:32:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-10T01:46:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/831x542.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"831\" \/>\n\t<meta property=\"og:image:height\" content=\"542\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Colby Fayock\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Colby Fayock\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/app14743.cloudwayssites.com\/blog\/instant-visual-testing-coverage-with-the-applitools-visual-diff-plugin-for-netlify\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/app14743.cloudwayssites.com\/blog\/instant-visual-testing-coverage-with-the-applitools-visual-diff-plugin-for-netlify\/\"},\"author\":{\"name\":\"Colby Fayock\",\"@id\":\"https:\/\/app14743.cloudwayssites.com\/#\/schema\/person\/9e804c33885876e31fe8a1cd871c31c8\"},\"headline\":\"Automatically Run Visual Tests on Every Netlify Deploy\",\"datePublished\":\"2021-08-25T17:32:25+00:00\",\"dateModified\":\"2023-01-10T01:46:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/app14743.cloudwayssites.com\/blog\/instant-visual-testing-coverage-with-the-applitools-visual-diff-plugin-for-netlify\/\"},\"wordCount\":1255,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/app14743.cloudwayssites.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/app14743.cloudwayssites.com\/blog\/instant-visual-testing-coverage-with-the-applitools-visual-diff-plugin-for-netlify\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/831x542.jpg\",\"keywords\":[\"Automated Visual Testing\",\"netlify\"],\"articleSection\":[\"Advanced Topics\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/app14743.cloudwayssites.com\/blog\/instant-visual-testing-coverage-with-the-applitools-visual-diff-plugin-for-netlify\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/app14743.cloudwayssites.com\/blog\/instant-visual-testing-coverage-with-the-applitools-visual-diff-plugin-for-netlify\/\",\"url\":\"https:\/\/app14743.cloudwayssites.com\/blog\/instant-visual-testing-coverage-with-the-applitools-visual-diff-plugin-for-netlify\/\",\"name\":\"Automatically Run Visual Tests on Every Netlify Deploy\",\"isPartOf\":{\"@id\":\"https:\/\/app14743.cloudwayssites.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/app14743.cloudwayssites.com\/blog\/instant-visual-testing-coverage-with-the-applitools-visual-diff-plugin-for-netlify\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/app14743.cloudwayssites.com\/blog\/instant-visual-testing-coverage-with-the-applitools-visual-diff-plugin-for-netlify\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/831x542.jpg\",\"datePublished\":\"2021-08-25T17:32:25+00:00\",\"dateModified\":\"2023-01-10T01:46:07+00:00\",\"description\":\"Learn how to use Netlify Build Plugins to instantly add automated visual testing to every deployment in just a few clicks with Applitools.\",\"breadcrumb\":{\"@id\":\"https:\/\/app14743.cloudwayssites.com\/blog\/instant-visual-testing-coverage-with-the-applitools-visual-diff-plugin-for-netlify\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/app14743.cloudwayssites.com\/blog\/instant-visual-testing-coverage-with-the-applitools-visual-diff-plugin-for-netlify\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/app14743.cloudwayssites.com\/blog\/instant-visual-testing-coverage-with-the-applitools-visual-diff-plugin-for-netlify\/#primaryimage\",\"url\":\"https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/831x542.jpg\",\"contentUrl\":\"https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/831x542.jpg\",\"width\":831,\"height\":542,\"caption\":\"Applitools + Netlify\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/app14743.cloudwayssites.com\/blog\/instant-visual-testing-coverage-with-the-applitools-visual-diff-plugin-for-netlify\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/app14743.cloudwayssites.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Advanced Topics\",\"item\":\"https:\/\/app14743.cloudwayssites.com\/blog\/category\/advanced-topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Automatically Run Visual Tests on Every Netlify Deploy\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/app14743.cloudwayssites.com\/#website\",\"url\":\"https:\/\/app14743.cloudwayssites.com\/\",\"name\":\"Applitools Visual AI\",\"description\":\"Applitools delivers full end-to-end test automation with AI infused at every step.\",\"publisher\":{\"@id\":\"https:\/\/app14743.cloudwayssites.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/app14743.cloudwayssites.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/app14743.cloudwayssites.com\/#organization\",\"name\":\"Applitools\",\"url\":\"https:\/\/app14743.cloudwayssites.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/app14743.cloudwayssites.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2020\/03\/applitools.png\",\"contentUrl\":\"https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2020\/03\/applitools.png\",\"width\":156,\"height\":28,\"caption\":\"Applitools\"},\"image\":{\"@id\":\"https:\/\/app14743.cloudwayssites.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/app14743.cloudwayssites.com\/#\/schema\/person\/9e804c33885876e31fe8a1cd871c31c8\",\"name\":\"Colby Fayock\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/app14743.cloudwayssites.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c37c3688dcc3eedacf6d1351f1700ec4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c37c3688dcc3eedacf6d1351f1700ec4?s=96&d=mm&r=g\",\"caption\":\"Colby Fayock\"},\"url\":\"https:\/\/app14743.cloudwayssites.com\/blog\/author\/cfayock\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Automatically Run Visual Tests on Every Netlify Deploy","description":"Learn how to use Netlify Build Plugins to instantly add automated visual testing to every deployment in just a few clicks with Applitools.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/app14743.cloudwayssites.com\/blog\/instant-visual-testing-coverage-with-the-applitools-visual-diff-plugin-for-netlify\/","og_locale":"en_US","og_type":"article","og_title":"Automatically Run Visual Tests on Every Netlify Deploy","og_description":"Running tests shouldn't be an afterthought, but it can seem challenging to dive in with the huge variety of frameworks and simply not knowing what to","og_url":"https:\/\/app14743.cloudwayssites.com\/blog\/instant-visual-testing-coverage-with-the-applitools-visual-diff-plugin-for-netlify\/","og_site_name":"AI-Powered End-to-End Testing | Applitools","article_published_time":"2021-08-25T17:32:25+00:00","article_modified_time":"2023-01-10T01:46:07+00:00","og_image":[{"width":831,"height":542,"url":"https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/831x542.jpg","type":"image\/jpeg"}],"author":"Colby Fayock","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Colby Fayock","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/app14743.cloudwayssites.com\/blog\/instant-visual-testing-coverage-with-the-applitools-visual-diff-plugin-for-netlify\/#article","isPartOf":{"@id":"https:\/\/app14743.cloudwayssites.com\/blog\/instant-visual-testing-coverage-with-the-applitools-visual-diff-plugin-for-netlify\/"},"author":{"name":"Colby Fayock","@id":"https:\/\/app14743.cloudwayssites.com\/#\/schema\/person\/9e804c33885876e31fe8a1cd871c31c8"},"headline":"Automatically Run Visual Tests on Every Netlify Deploy","datePublished":"2021-08-25T17:32:25+00:00","dateModified":"2023-01-10T01:46:07+00:00","mainEntityOfPage":{"@id":"https:\/\/app14743.cloudwayssites.com\/blog\/instant-visual-testing-coverage-with-the-applitools-visual-diff-plugin-for-netlify\/"},"wordCount":1255,"commentCount":0,"publisher":{"@id":"https:\/\/app14743.cloudwayssites.com\/#organization"},"image":{"@id":"https:\/\/app14743.cloudwayssites.com\/blog\/instant-visual-testing-coverage-with-the-applitools-visual-diff-plugin-for-netlify\/#primaryimage"},"thumbnailUrl":"https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/831x542.jpg","keywords":["Automated Visual Testing","netlify"],"articleSection":["Advanced Topics"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/app14743.cloudwayssites.com\/blog\/instant-visual-testing-coverage-with-the-applitools-visual-diff-plugin-for-netlify\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/app14743.cloudwayssites.com\/blog\/instant-visual-testing-coverage-with-the-applitools-visual-diff-plugin-for-netlify\/","url":"https:\/\/app14743.cloudwayssites.com\/blog\/instant-visual-testing-coverage-with-the-applitools-visual-diff-plugin-for-netlify\/","name":"Automatically Run Visual Tests on Every Netlify Deploy","isPartOf":{"@id":"https:\/\/app14743.cloudwayssites.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/app14743.cloudwayssites.com\/blog\/instant-visual-testing-coverage-with-the-applitools-visual-diff-plugin-for-netlify\/#primaryimage"},"image":{"@id":"https:\/\/app14743.cloudwayssites.com\/blog\/instant-visual-testing-coverage-with-the-applitools-visual-diff-plugin-for-netlify\/#primaryimage"},"thumbnailUrl":"https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/831x542.jpg","datePublished":"2021-08-25T17:32:25+00:00","dateModified":"2023-01-10T01:46:07+00:00","description":"Learn how to use Netlify Build Plugins to instantly add automated visual testing to every deployment in just a few clicks with Applitools.","breadcrumb":{"@id":"https:\/\/app14743.cloudwayssites.com\/blog\/instant-visual-testing-coverage-with-the-applitools-visual-diff-plugin-for-netlify\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/app14743.cloudwayssites.com\/blog\/instant-visual-testing-coverage-with-the-applitools-visual-diff-plugin-for-netlify\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/app14743.cloudwayssites.com\/blog\/instant-visual-testing-coverage-with-the-applitools-visual-diff-plugin-for-netlify\/#primaryimage","url":"https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/831x542.jpg","contentUrl":"https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2021\/08\/831x542.jpg","width":831,"height":542,"caption":"Applitools + Netlify"},{"@type":"BreadcrumbList","@id":"https:\/\/app14743.cloudwayssites.com\/blog\/instant-visual-testing-coverage-with-the-applitools-visual-diff-plugin-for-netlify\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/app14743.cloudwayssites.com\/"},{"@type":"ListItem","position":2,"name":"Advanced Topics","item":"https:\/\/app14743.cloudwayssites.com\/blog\/category\/advanced-topics\/"},{"@type":"ListItem","position":3,"name":"Automatically Run Visual Tests on Every Netlify Deploy"}]},{"@type":"WebSite","@id":"https:\/\/app14743.cloudwayssites.com\/#website","url":"https:\/\/app14743.cloudwayssites.com\/","name":"Applitools Visual AI","description":"Applitools delivers full end-to-end test automation with AI infused at every step.","publisher":{"@id":"https:\/\/app14743.cloudwayssites.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/app14743.cloudwayssites.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/app14743.cloudwayssites.com\/#organization","name":"Applitools","url":"https:\/\/app14743.cloudwayssites.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/app14743.cloudwayssites.com\/#\/schema\/logo\/image\/","url":"https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2020\/03\/applitools.png","contentUrl":"https:\/\/app14743.cloudwayssites.com\/wp-content\/uploads\/2020\/03\/applitools.png","width":156,"height":28,"caption":"Applitools"},"image":{"@id":"https:\/\/app14743.cloudwayssites.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/app14743.cloudwayssites.com\/#\/schema\/person\/9e804c33885876e31fe8a1cd871c31c8","name":"Colby Fayock","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/app14743.cloudwayssites.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c37c3688dcc3eedacf6d1351f1700ec4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c37c3688dcc3eedacf6d1351f1700ec4?s=96&d=mm&r=g","caption":"Colby Fayock"},"url":"https:\/\/app14743.cloudwayssites.com\/blog\/author\/cfayock\/"}]}},"_links":{"self":[{"href":"https:\/\/app14743.cloudwayssites.com\/wp-json\/wp\/v2\/posts\/30390"}],"collection":[{"href":"https:\/\/app14743.cloudwayssites.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/app14743.cloudwayssites.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/app14743.cloudwayssites.com\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/app14743.cloudwayssites.com\/wp-json\/wp\/v2\/comments?post=30390"}],"version-history":[{"count":0,"href":"https:\/\/app14743.cloudwayssites.com\/wp-json\/wp\/v2\/posts\/30390\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/app14743.cloudwayssites.com\/wp-json\/wp\/v2\/media\/30402"}],"wp:attachment":[{"href":"https:\/\/app14743.cloudwayssites.com\/wp-json\/wp\/v2\/media?parent=30390"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/app14743.cloudwayssites.com\/wp-json\/wp\/v2\/categories?post=30390"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/app14743.cloudwayssites.com\/wp-json\/wp\/v2\/tags?post=30390"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}