<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by David Jones on Medium]]></title>
        <description><![CDATA[Stories by David Jones on Medium]]></description>
        <link>https://medium.com/@d_jones?source=rss-58ae6a33490------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*ISz4IXeLAC8jtRnv.jpeg</url>
            <title>Stories by David Jones on Medium</title>
            <link>https://medium.com/@d_jones?source=rss-58ae6a33490------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 22:01:50 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@d_jones/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Introducing Visual Reviews 2.0]]></title>
            <link>https://medium.com/perceptual-percy/visual-reviews-2-0-442fea867845?source=rss-58ae6a33490------2</link>
            <guid isPermaLink="false">https://medium.com/p/442fea867845</guid>
            <category><![CDATA[continuous-integration]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[screenshot-testing]]></category>
            <category><![CDATA[visual-testing]]></category>
            <category><![CDATA[visual-testing-tools]]></category>
            <dc:creator><![CDATA[David Jones]]></dc:creator>
            <pubDate>Tue, 15 Dec 2020 14:49:55 GMT</pubDate>
            <atom:updated>2020-12-15T14:52:48.958Z</atom:updated>
            <content:encoded><![CDATA[<iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F9nJDHEiEKdA%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D9nJDHEiEKdA&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F9nJDHEiEKdA%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/da8b7df25479ba8e9fb233724c5077a6/href">https://medium.com/media/da8b7df25479ba8e9fb233724c5077a6/href</a></iframe><p>We are proud to introduce a ground-up redesign of Percy’s visual review experience! It’s designed to support more browsers and help you perform faster, more efficient visual reviews across thousands of screenshots.</p><p>When we took this project on, we had some clear goals in mind — we wanted to help our users:</p><ul><li>Work with larger builds and still be able to achieve speedier reviews</li><li>Never lose sight of where they are in the build</li><li>Have the flexibility to configure their layout, their way</li><li>Tune out distractions and work with improved focus</li><li>Leverage all this while retaining the inherent essence of Percy that they have grown used to.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yJ5bah1TsxSmV7Sx-rqBaQ.png" /></figure><p>Let’s go through some of the features we’ve added to support these goals.</p><h3>Enhanced Performance: Review more in less time</h3><p><strong>Keyboard shortcuts:</strong> Nothing is faster than navigating builds with keyboard shortcuts. We have added shortcuts for many common functions and here are the important ones:</p><ul><li><strong>↑</strong> and <strong>↓</strong> to go to the previous/next snapshot</li><li><strong>D</strong> to toggle the diff overlay</li><li><strong>A</strong> to approve</li><li><strong>T</strong> to toggle between the Dark and Light modes</li></ul><p><strong>Faster loading builds:</strong> We have optimized our APIs that back the UI to speed up the initial load time of the build. Minimal time is spent waiting for builds to load so you can get on with your review immediately.</p><p><strong>Create and review larger builds: </strong>We have rearchitected our API to make builds more scalable and performant. We now support builds with 10,000 snapshots or more.</p><p><strong>Snapshot search: </strong>Built-in search helps<strong> </strong>you easily find a particular snapshot, or group of snapshots with a common name, with ease.</p><h3>Improved Context: Clearly see where work stands</h3><p><strong>Visual change indicator:</strong> With our handy visual change indicator, you will never miss a diff again. A purple underline guides you precisely to the browser-width combo where a change has been detected.</p><p><strong>Snapshot thumbnails:</strong> Build details are available at a glance with snapshot thumbnails allowing you to quickly browse your build, no matter how large, at a high level.</p><p><strong>Filter snapshots:</strong> Filtering snapshots allows you to review exactly what you need to. Snapshots can be filtered by status, widths, browsers, changes requested, and also unreviewed or approved snapshots.</p><h3>Better Flexibility: Customize your layout to your liking</h3><p><strong>Snapshot review modes:</strong> Snapshots are placed adjacently in the Side-by-side mode and stacked vertically in the Overlay mode. You can toggle between the two easily and control the arrangement.</p><p><em>Pro tip</em>: <strong>←</strong> and <strong>→</strong> in Overlay mode toggles between original and new screenshots.</p><p><strong>Configurable panels:</strong> Our flexible panels remember how they were configured. They can easily be resized, and even be collapsed altogether for a clutter-free view, with a simple click.</p><p><em>Pro tip:</em> the <strong>[</strong> key toggles the filter panel.</p><h3>Greater Customizability: Choose what’s best for your web app</h3><p><strong>Light and Dark modes:</strong> It’s more about visual ergonomics than aesthetics. Choosing the right mode will give emphasis to the snapshot that is being reviewed and help you stay focused on it. You can quickly toggle between the two modes by pressing the <strong>t</strong> key.</p><p><em>Pro tip: </em>Use dark mode for lighter apps, and light mode for darker apps.</p><p>—</p><p>We are happy to see that the redesign has been well received by our beta users — here’s what they have to say about it:</p><blockquote>“Just tried this new experience on a few builds and it looks great overall.”</blockquote><blockquote>“We like it a lot so far. Just much easier to see everything at a glance, and go thru long lists of screen diffs.”</blockquote><blockquote>“The new version looks great and works really well. Thanks Percy.”</blockquote><blockquote>“Way easier and faster to use”</blockquote><p>While hundreds of users gain visual confidence with their apps using Percy, our team is working behind the scenes to enhance Percy itself. You may not be able to see each one of those changes, but this is one — and a big one at that — that we’re excited to share with you. We hope you enjoy using it as much as we did building it!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=442fea867845" width="1" height="1" alt=""><hr><p><a href="https://medium.com/perceptual-percy/visual-reviews-2-0-442fea867845">Introducing Visual Reviews 2.0</a> was originally published in <a href="https://medium.com/perceptual-percy">Percy Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[UI testing with WebdriverIO and Percy]]></title>
            <link>https://medium.com/perceptual-percy/ui-testing-with-webdriverio-and-percy-a8f939d0eaaf?source=rss-58ae6a33490------2</link>
            <guid isPermaLink="false">https://medium.com/p/a8f939d0eaaf</guid>
            <category><![CDATA[ui-testing]]></category>
            <category><![CDATA[test-automation]]></category>
            <category><![CDATA[webdriverio]]></category>
            <category><![CDATA[visual-testing]]></category>
            <category><![CDATA[front-end-development]]></category>
            <dc:creator><![CDATA[David Jones]]></dc:creator>
            <pubDate>Tue, 02 Apr 2019 13:50:10 GMT</pubDate>
            <atom:updated>2019-04-02T13:54:56.282Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A2qsDGCIAy-YcD1jeFX9gQ.png" /></figure><p>Announcing major improvements to our WebdriverIO SDK!</p><h3>Automatic visual testing with Percy &amp; WebdriverIO</h3><p>We’re thrilled to provide better support for <a href="http://webdriver.io/">WebdriverIO</a>, the popular front-end friendly JavaScript testing library. WebdriverIO integrates nicely with testing tools like Mocha and Chai, providing an easy-to-use framework to drive browser testing.</p><p>Now it’s easier than ever to incorporate visual coverage on top of WebdriverIO!</p><p>This <a href="https://docs.percy.io/v2/docs/webdriverio">updated SDK</a> has out-of-the-box support for snapshotting complex modern web pages without requiring you to use custom loaders, as well as processing and uploading snapshots outside of your test process.</p><p>With our WebdriverIO integration, you can easily add Percy snapshots to your tests for automated visual testing across responsive widths and browsers:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/964/1*K9HAPYGQOQru_SpYXwjrAg.gif" /><figcaption>Caption: Check out <a href="https://docs.percy.io/docs/webdriverio-tutorial">this 2-minute tutorial</a> to see our WebdriverIO integration in action.</figcaption></figure><h3>Getting started</h3><p>If you’re integrating Percy and WebdriverIO for the first time, follow the steps below or <a href="https://docs.percy.io/v1/docs/webdriverio">check out our documentation</a>. If you’re already using our Webdriver integration, read how to upgrade to <a href="https://docs.percy.io/v1/docs/upgrading-to-percy-webdriverio-v1">Percy Webdriver v1</a>.</p><ol><li>Install @percy/percy-webdriverio with npm or yarn . For example:</li></ol><pre>npm install --save-dev @percy/percy-webdriverio</pre><p>2. Import percySnapshot() into your test files</p><pre>const { percySnapshot } = require(&#39;@percy/percy-webdriverio&#39;)</pre><p>3. Call percySnapshot() where you’d like to add visual coverage</p><pre>describe(&#39;Integration test with visual testing&#39;, async function() {</pre><pre>  it(&#39;Loads the example.com site&#39;, async function() {</pre><pre>    await browser.url(https://medium.com/&#39;https://example.com/&#39;)</pre><pre>    await percySnapshot(browser, this.test.fullTitle())</pre><pre>  })</pre><pre>})</pre><p>4. Wrap your test runner command in the percy exec command.</p><pre>percy exec -- wdio wdio.conf.js</pre><p><em>(Note the spaces around the double dash).</em></p><p>That’s it! Now, whenever your tests run — either <a href="https://docs.percy.io/docs/local-development">locally</a> or in <a href="https://docs.percy.io/v1/docs/ci-setup">CI</a> — Percy will capture DOM snapshots everywhere you’ve called percySnapshot(...). Those snapshots are then rendered in Percy’s environment and compared against baselines to detect visual changes.</p><p>WebdriverIO is a powerful testing tool and we’re thrilled to provide first-class support for integrating automated visual testing.</p><p><strong>Additional resources:</strong></p><ul><li>For a more in-depth look at adding Percy snapshots to your Webdriver tests, check out our <a href="https://docs.percy.io/v1/docs/webdriverio">WebdriverIO set up guide</a>.</li><li>To see our WebdriverIO integration in action, check out our <a href="https://docs.percy.io/docs/webdriverio-tutorial">2-minute tutorial</a> and example app with Percy for Webdriver already set up.</li><li>Learn about our <a href="https://docs.percy.io/v1/docs/supported-test-frameworks">other end-to-end testing framework integrations</a>.</li></ul><p>Feel free to reach out <a href="https://twitter.com/percy_io">on Twitter</a>, or send an email to <a href="/service/mailto:support@percy.io">support</a> with any questions or feedback.</p><p><em>Percy is an all-in-one visual testing solution that gives your team confidence in every visual change before it’s shipped. Learn more at </em><a href="https://percy.io/"><em>https://percy.io</em></a><em>. </em>🤖</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a8f939d0eaaf" width="1" height="1" alt=""><hr><p><a href="https://medium.com/perceptual-percy/ui-testing-with-webdriverio-and-percy-a8f939d0eaaf">UI testing with WebdriverIO and Percy</a> was originally published in <a href="https://medium.com/perceptual-percy">Percy Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Integrating visual testing into your CodeShip workflow]]></title>
            <link>https://medium.com/perceptual-percy/integrating-visual-testing-into-your-codeship-workflow-35cb6f9fdd26?source=rss-58ae6a33490------2</link>
            <guid isPermaLink="false">https://medium.com/p/35cb6f9fdd26</guid>
            <category><![CDATA[frontend-development]]></category>
            <category><![CDATA[software-testing]]></category>
            <category><![CDATA[visual-testing]]></category>
            <category><![CDATA[continuous-integration]]></category>
            <category><![CDATA[frontend-workflow]]></category>
            <dc:creator><![CDATA[David Jones]]></dc:creator>
            <pubDate>Tue, 05 Mar 2019 16:04:36 GMT</pubDate>
            <atom:updated>2019-03-07T21:48:08.599Z</atom:updated>
            <content:encoded><![CDATA[<p><em>This post originally appeared on the </em><a href="https://blog.codeship.com/integrating-visual-testing-codeship-workflow/"><em>CodeShip blog</em></a><em>.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tiXCcsXdvm8bdxFT2b3CeQ.png" /></figure><p>To make visual testing an easy part of your day-to-day workflow, Percy is designed to fit seamlessly into your existing CI and code review processes. Our <a href="https://docs.percy.io/v1/docs/ci-setup">CI/CD integrations</a> — like our one with CodeShip — enable you to easily add visual testing to your existing tests, helping eliminate the risk of visual regressions on every single commit.</p><p>In this post, you’ll learn how to integrate Percy with <a href="https://codeship.com/">CodeShip</a> and how to get started with our visual testing and review platform.</p><h3>Integrating Percy and CodeShip</h3><p>There are just two steps to get Percy up and running alongside your CodeShip builds:</p><ol><li>Start by configuring PERCY_TOKEN</li><li>Install one of our SDKs into your application</li></ol><p>The end goal is to start <a href="https://blog.percy.io/product-spotlight-series-visual-testing-and-visual-diffs-6a1fc540fc93">creating snapshots and detecting visual diffs</a> each time a CodeShip build runs.</p><p><strong>Configuring your environment</strong><br>Once you’ve created a free Percy account and a project to integrate with CodeShip, retrieve your PERCY_TOKEN API key. Configuring this project-specific environment variable will enable your CodeShip builds to trigger Percy builds.</p><p>Check out the environment variable configuration docs for CodeShip Pro and CodeShip Basic for more step-by-step guidance.</p><p>For CodeShip Pro customers utilizing parallelization to speed up build times, Percy pulls in your parallelization settings, grouping snapshots and visual changes that come from the same build.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7DkgTUjaOMDJKCxEm_s9mQ.png" /></figure><p><strong>Installing Percy and start running tests</strong><br>After you’ve configured your CodeShip environment, you’re ready to integrate Percy into your tests and start running visual reviews. We support several integrations that make it easy to add visual tests to any front-end framework, test framework, component library or style guide.</p><p>Here are a few of our most popular SDKs:</p><ul><li><a href="https://docs.percy.io/v1/docs/component-testing">Percy for Storybook</a> (Supports React, Vue, Angular, and more)</li><li><a href="https://docs.percy.io/docs/cypress">Percy for Cypress</a></li><li><a href="https://docs.percy.io/docs/puppeteer">Percy for Puppeteer</a></li><li><a href="https://docs.percy.io/docs/ember">Percy for Ember</a></li></ul><p>With Percy integrated into your CI workflow and tests, you’re ready to get started. Every time a build is pushed up to CodeShip, a Percy build is also kicked off, rendering snapshots across browsers and screen sizes. If diffs are detected, your <a href="https://docs.percy.io/v1/docs/supported-scm-integrations">PR status</a> will reflect the number of changes ready to be reviewed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eoOUpng-9Bw2hg7_MjSI_g.gif" /><figcaption>In the example above, pixels that have changed are highlighted in red “visual diffs.”</figcaption></figure><p>This workflow enables teams to see the visual impact of every code change with a single click and to know with complete confidence that they haven’t introduced visual regressions.</p><p>We’re thrilled to be CloudBees innovator partners — supporting integrations with both <a href="https://docs.percy.io/docs/codeship">CodeShip</a> and <a href="https://docs.percy.io/docs/jenkins">Jenkins</a> — to make it faster and easier to incorporate visual reviews as part of every code review.</p><p><strong>Want to learn more? Check out our </strong><a href="https://attendee.gotowebinar.com/register/5613535022355264769?source=Percy"><strong>upcoming webinar on March 20th</strong></a><strong> to learn more about our CodeShip integration, and see a live visual testing demo. </strong><a href="https://attendee.gotowebinar.com/register/5613535022355264769?source=Percy"><strong>Register here</strong></a><strong>.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=35cb6f9fdd26" width="1" height="1" alt=""><hr><p><a href="https://medium.com/perceptual-percy/integrating-visual-testing-into-your-codeship-workflow-35cb6f9fdd26">Integrating visual testing into your CodeShip workflow</a> was originally published in <a href="https://medium.com/perceptual-percy">Percy Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Seamless, parallelized, visual testing with the Percy CircleCI Orb]]></title>
            <link>https://medium.com/perceptual-percy/seamless-parallelized-visual-testing-with-the-percy-circleci-orb-220339cb3894?source=rss-58ae6a33490------2</link>
            <guid isPermaLink="false">https://medium.com/p/220339cb3894</guid>
            <category><![CDATA[visual-testing]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[continuous-integration]]></category>
            <dc:creator><![CDATA[David Jones]]></dc:creator>
            <pubDate>Wed, 09 Jan 2019 16:38:20 GMT</pubDate>
            <atom:updated>2019-01-24T21:05:53.333Z</atom:updated>
            <content:encoded><![CDATA[<p><em>This post originally appeared on the </em><a href="https://circleci.com/blog/seamless-parallelized-visual-testing-with-the-percy-circleci-orb/"><em>CircleCI blog</em></a><em>.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wxoHmOyP2Gm_sBQa5kb1EQ.png" /></figure><p>Percy’s visual testing workflow fits seamlessly into your existing CI/CD suite, helping you eliminate the risk of visual regressions on every single commit. It also supports running visual tests in tandem with parallelized CI builds–and our <a href="https://circleci.com/orbs/registry/orb/percy/agent">CircleCI orb</a> makes it easier than ever.</p><h3>Percy CircleCI Orb</h3><p>Because Percy runs downstream from your CI service, it needs a clear signal of when the build has finished, so it knows when it has the full set of snapshots. <a href="https://circleci.com/orbs/registry/orb/percy/agent">Our orb</a> ensures that there isn’t one late-starting test runner that hasn’t finished.</p><p>This is what a typical workflow with the Percy Orb looks like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/963/0*diN2amIJDwVmPoFF.png" /></figure><p>Your test suite kicks off, dividing the work of running the tests into multiple test runners. Once they have all finished, the percy/finalize_all command is called, triggering finalizing a build and treating all snapshots in the build as received.</p><h3>Environment variables</h3><p>Once you’ve created a Percy project to integrate with CircleCI, retrieve your PERCY_TOKEN under your project settings.</p><p>Set PERCY_PARALLEL_TOTAL to -1. This tells Percy to consider our Percy build fully wrapped up when we hear the percy/finalize_allcommand from the orb.</p><h3>Workflow configuration</h3><p>Your CircleCI workflow configuration imports the percy/agent orb and once all tests have finished, it executes the percy/finalize_all command.</p><p>At a high level, this is what the .circleci/config.yml file should look like:</p><pre>version: 2.1</pre><pre>orbs:<br> percy: percy/agent@volatile</pre><pre>jobs:<br> run_tests:<br>   steps:<br>     - attach_workspace:<br>         at: .<br>     - run: echo &quot;your tests run here&quot;</pre><pre>workflows:<br> test:<br>   jobs:<br>     - run_tests:<br>         parallelism: 3<br>     - percy/finalize_all:<br>         requires:<br>           - run_tests</pre><h3>Running tests</h3><p>Once you’ve added the Percy CircleCI Orb to your config file (.circleci/config.yml), snapshots will be rendered across browsers and screen sizes whenever your tests run.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hKX3lZCLhbDAkvz-.gif" /></figure><p>In the example above, pixels that have changed are highlighted in red “visual diffs.” <a href="https://docs.percy.io/v1/docs/supported-frameworks">Our SDKs</a> make it easy to add visual tests to any front-end framework, test framework, component library, or style guide. For more information about integrating our orb into your CircleCI config file, visit the <a href="https://docs.percy.io/v1/docs/circleci-orb-integration">Percy docs</a>.</p><p>We’re so excited to be a CircleCI <a href="https://circleci.com/blog/announcing-orbs-technology-partner-program/">Technology Partner</a>, making visual testing even more efficient and scalable and we look forward to evolving our Orb for future use cases.</p><h4><strong>Want to learn more about our CircleCI orb?</strong></h4><p>We teamed up with the CircleCI team for a live demo. Watch the recording of the session 👇 to learn more about our CircleCI integration, and see a live visual testing demo.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FLvgMo6lAv5I%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DLvgMo6lAv5I&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FLvgMo6lAv5I%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/ede83d5f394f20c8c2122ac8acf6cfec/href">https://medium.com/media/ede83d5f394f20c8c2122ac8acf6cfec/href</a></iframe><p><em>Percy is a visual testing platform that gives your team confidence in every visual change before it’s shipped. Learn more at </em><a href="https://percy.io/"><em>https://percy.io</em></a><em>. 💜</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=220339cb3894" width="1" height="1" alt=""><hr><p><a href="https://medium.com/perceptual-percy/seamless-parallelized-visual-testing-with-the-percy-circleci-orb-220339cb3894">Seamless, parallelized, visual testing with the Percy CircleCI Orb</a> was originally published in <a href="https://medium.com/perceptual-percy">Percy Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Percy for Java with Selenium]]></title>
            <link>https://medium.com/perceptual-percy/visual-testing-java-applications-selenium-b8d99bd1fd5f?source=rss-58ae6a33490------2</link>
            <guid isPermaLink="false">https://medium.com/p/b8d99bd1fd5f</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[selenium]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[test-automation]]></category>
            <category><![CDATA[visual-testing]]></category>
            <dc:creator><![CDATA[David Jones]]></dc:creator>
            <pubDate>Thu, 20 Dec 2018 10:14:32 GMT</pubDate>
            <atom:updated>2018-12-20T15:09:01.220Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Oz9UlGcCHCobyqh8UBlg4g.png" /></figure><p>We’re thrilled to announce our Java Selenium SDK! Percy now has support for Java applications–just add Percy snapshots to your Selenium tests.</p><h3>Visual testing for Java apps with Selenium</h3><p>For developers building and maintaining Java apps, <a href="https://www.seleniumhq.org/projects/webdriver/">Selenium</a> is a powerful and flexible tool for automating user actions within browsers for test purposes.</p><p>Our Selenium Java SDK builds on top of Selenium’s flexible and powerful foundation, helping teams add visual coverage to their Java applications. It’s now easier than ever to ensure your applications not only function as intended but also look exactly as designed.</p><h3>Integrating Percy with Java Selenium</h3><p>In this post, you’ll get a quick overview of installing and setting up Percy with your Java Selenium setup. Check out our documentation to go through each of those steps in detail.</p><p>1. Add percy-java-selenium to your project dependencies.</p><p>For example, if you’re using Maven for your dependencies:</p><pre>&lt;dependency&gt;<br>  &lt;groupId&gt;io.percy&lt;/groupId&gt;<br>  &lt;artifactId&gt;percy-java-selenium&lt;/artifactId&gt;<br>&lt;/dependency&gt;</pre><p>2. Install the @percy/agent npm package:</p><pre>$ npm install --save-dev @percy/agent</pre><p>3. Import the Percy selenium library into each file from which you want to take snapshots: import io.percy.selenium.Percy</p><p>4. Create a new Percy object with a WebDriver instance as a parameter: Percy percy = new Percy(webDriver);</p><p>5. Call percy.snapshot(SNAPSHOT_NAME) wherever you want to generate a snapshot.</p><p>6. Wrap your run command in ./node_modules/.bin/percy exec --. This will start a Percy agent to receive snapshots from your tests and upload them to your Percy project.</p><p>For example, if you’re using Maven you would do something like this:</p><pre>./node_modules/.bin/percy exec —- mvn test</pre><p>With this integration, you can also globally configure snapshot widths for each build. <a href="https://docs.percy.io/v1/docs/configuration#section-use-cases">Check out our documentation</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/992/0*5YgIGiuia3ssyP-F" /></figure><p>Walk through our Java Selenium tutorial where we clone an example Java application tested with Selenium, make some changes, and see the visual diffs in Percy.</p><p>Being able to easily add visual testing to your existing Selenium setup is the fastest way to get visual coverage across your Java application. We’re excited to extend our support to Java applications and are excited to broaden the use of Percy.</p><p>We recently launched SDKs for several test frameworks:</p><ul><li><a href="https://blog.percy.io/percy-for-cypress-end-to-end-visual-testing-aac39d33f56d">Cypress</a></li><li><a href="https://blog.percy.io/automated-visual-testing-nightmare-percy-e5c335eac4da">Nightmare</a></li><li><a href="https://blog.percy.io/percy-for-puppeteer-automated-visual-testing-for-chrome-94143018ba79">Puppeteer</a></li><li><a href="https://blog.percy.io/visual-testing-for-angular-apps-with-protractor-eb7a959b9d54">Protractor</a></li><li><a href="https://blog.percy.io/visual-testing-in-nightwatch-js-with-percy-1b68c122cf94">Nightwatch</a></li></ul><p>Stay tuned for upcoming announcements by hitting <strong>Follow below or </strong><a href="https://twitter.com/percy_io"><strong>on Twitter</strong></a><strong>.</strong></p><p><em>Percy is an all-in-one visual testing solution that gives your team confidence in every visual change before it’s shipped. Learn more at </em><a href="https://percy.io/"><em>https://percy.io</em></a><em>. </em>☕️</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b8d99bd1fd5f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/perceptual-percy/visual-testing-java-applications-selenium-b8d99bd1fd5f">Percy for Java with Selenium</a> was originally published in <a href="https://medium.com/perceptual-percy">Percy Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Visual testing in Nightwatch.js with Percy]]></title>
            <link>https://medium.com/perceptual-percy/visual-testing-in-nightwatch-js-with-percy-1b68c122cf94?source=rss-58ae6a33490------2</link>
            <guid isPermaLink="false">https://medium.com/p/1b68c122cf94</guid>
            <category><![CDATA[visual-testing]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[software-testing]]></category>
            <category><![CDATA[test-automation]]></category>
            <dc:creator><![CDATA[David Jones]]></dc:creator>
            <pubDate>Thu, 13 Dec 2018 14:01:01 GMT</pubDate>
            <atom:updated>2018-12-13T14:01:01.175Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Mf1_soL6gjVany4H_WX1EQ.png" /></figure><p>We now support Nightwatch! With our newest SDK, you can <a href="https://docs.percy.io/docs/nightwatch">add Percy snapshots to your Nightwatch.js tests</a> for automated visual testing.</p><h3>Visual testing in Nightwatch.js with Percy</h3><p><a href="http://nightwatchjs.org/">Nightwatch.js</a> is an easy-to-use Node.js based end-to-end (e2e) testing solution for browser-based apps and websites. With this integration, anyone using Nightwatch.js to run their e2e tests can add Percy snapshots with ease.</p><p>Percy adds an extra level of confidence to e2e suites, generating and comparing snapshots across your UI automatically. When snapshots are called from within your Nightwatch.js script, Percy renders full page screenshots across different browsers and responsive widths for <a href="https://blog.percy.io/product-spotlight-series-visual-testing-and-visual-diffs-6a1fc540fc93">visual regression testing</a>.</p><h3>It’s easy to get started!</h3><p>1. Install the @percy/nightwatch npm package:</p><pre>npm install --save-dev @percy/nightwatch</pre><p>2. Add the path to the percySnapshot command to the custom_commands_path array in your Nightwatch configuration: const percy = require(&#39;@percy/nightwatch&#39;) and custom_commands_path: [ percy.path ].</p><p>3. Call browser.percySnapshot() from your tests wherever you want to save a snapshot:</p><pre>&#39;Loads the app&#39;: function(browser) {<br>  browser<br>  .url(https://medium.com/&#39;http://example.com&#39;)<br>  .percySnapshot()<br>  .end()<br>}</pre><p>4. Finally, wrap your test runner call in the percy exec command. This will start a Percy agent to receive snapshots and upload them to your Percy dashboard. Your new test command becomes:</p><pre>percy exec -- nightwatch</pre><p>Note the spaces around --.</p><p>That’s it! This integration, along with our <a href="https://docs.percy.io/v1/docs/ci-setup">CI/CD integrations</a> has the power to add visual testing and reviews to your workflow in no time. Whenever CI runs, a snapshot of your app in that state will be uploaded to Percy for visual regression testing!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Pho2aZTucQJcOJsO1vlH_A.gif" /></figure><p>This integration also supports responsive testing. When you call browser.percySnapshot(), you have the option to include the widths and minHeight at which you want to take snapshots.</p><p><strong>For a more in-depth look at adding Percy snapshots to your Nightwatch tests, check out our </strong><a href="https://docs.percy.io/v1/docs/nightwatch"><strong>Nightwatch.js set up guide</strong></a><strong> and </strong><a href="https://docs.percy.io/v1/docs/nightwatch-testing-tutorial"><strong>Nightwatch.js tutorial</strong></a><strong>.</strong></p><p>We support other JavaScript test frameworks as well — <a href="https://docs.percy.io/docs/cypress">Cypress</a>, <a href="https://docs.percy.io/docs/nightmare">Nightmare</a>, <a href="https://docs.percy.io/docs/puppeteer">Puppeteer</a>, and <a href="https://docs.percy.io/v1/docs/protractor">Protractor</a>! For a full list of our SDKs, visit <a href="https://docs.percy.io/docs/getting-started">our documentation</a> and stay tuned for upcoming announcements.</p><p>We’d love to hear your feedback! Drop us a line on <a href="https://twitter.com/percy_io">Twitter</a> or send an email to support@percy.io.</p><p>Percy is a visual testing platform that gives your team confidence in every visual change before it’s shipped. Learn more at <a href="https://percy.io/">https://percy.io</a>. 🦔</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1b68c122cf94" width="1" height="1" alt=""><hr><p><a href="https://medium.com/perceptual-percy/visual-testing-in-nightwatch-js-with-percy-1b68c122cf94">Visual testing in Nightwatch.js with Percy</a> was originally published in <a href="https://medium.com/perceptual-percy">Percy Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Visual testing for Angular apps with Protractor]]></title>
            <link>https://medium.com/perceptual-percy/visual-testing-for-angular-apps-with-protractor-eb7a959b9d54?source=rss-58ae6a33490------2</link>
            <guid isPermaLink="false">https://medium.com/p/eb7a959b9d54</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[test-automation]]></category>
            <category><![CDATA[visual-testing]]></category>
            <dc:creator><![CDATA[David Jones]]></dc:creator>
            <pubDate>Tue, 04 Dec 2018 14:01:09 GMT</pubDate>
            <atom:updated>2018-12-04T14:01:09.264Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yDFBXDrAynMR0JXs-bkAgQ.png" /></figure><p>We’re excited to announce our new integration with Protractor. Adding automated visual testing to Angular and AngularJS applications is now easier than ever!</p><h3>Visual testing for Angular apps with Protractor</h3><p><a href="https://www.protractortest.org/">Protractor</a>, the end-to-end test framework for AngularJS applications built on top of <a href="http://www.webdriverjs.com/">WebDriverJS</a>, automates end-user actions within browsers.</p><p>With this integration, you can now insert Percy snapshots into your Protractor scripts wherever you want <a href="https://percy.io/visual-testing">visual coverage</a>. The goal is to leverage your existing e2e tests to take and compare browser snapshots for visual regression testing.</p><p>When snapshots are called from within your e2e tests, Percy will render a full page screenshot–across different browsers and responsive widths:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3KLTJZqr7vQPFmwKDv6O0Q.gif" /><figcaption>Check out our <a href="https://docs.percy.io/docs/protractor-testing-tutorial">Protractor tutorial</a> to get a walkthrough of setting Percy up with Protractor.</figcaption></figure><p>Like in the example above, visual changes are highlighted for you to easily review and approve, or take action to fix the visual regression.</p><h3>It’s easy to get started!</h3><p>1. Install @percy/protractorwith npm or yarn. For example:</p><pre>npm install --save-dev @percy/protractor</pre><p>2. Import percySnapshot() into your test file:</p><pre>const { percySnapshot } = require(&#39;@percy/protractor&#39;)</pre><p>3. Call percySnapshot(&lt;SnapshotName&gt;) where you want to add snapshots:</p><pre>describe(&#39;Integration test with visual testing&#39;, function() {<br>  it(&#39;Loads the app&#39;, function() {<br>    browser.get(&#39;http://example.com&#39;)<br>    percySnapshot(&#39;My snapshot&#39;)<br>  })<br>})</pre><p>4. Finally, wrap your test runner call in the percy exec command. This will start a Percy agent to receive snapshots and upload them to your Percy dashboard. Your new test command becomes:</p><pre>percy exec —- protractor conf.js</pre><p><em>(Note the spaces around the </em><em>--).</em></p><p>That’s it! Now, whenever CI runs, a snapshot of your app in that state will be uploaded to Percy for visual regression testing!</p><p><strong>Learn more about integrating Percy and Protractor in our </strong><a href="https://docs.percy.io/docs/protractor"><strong>docs</strong></a><strong>, or check out our step-by-step tutorial.</strong></p><p>We’re excited to offer more support for teams designing and developing AngularJS apps! We hope that in addition to our other new integrations with <a href="https://docs.percy.io/docs/puppeteer">Puppeteer</a>, <a href="https://docs.percy.io/docs/nightmare">Nightmare</a>, and <a href="https://docs.percy.io/docs/cypress">Cypress</a>, our test framework integrations make it easier for teams to get started with visual testing.</p><p>We’d love to hear your feedback! Drop us a line on <a href="https://twitter.com/percy_io">Twitter</a> or send an email to support@percy.io and stay tuned for upcoming announcements!</p><p><em>Percy is a visual testing platform that gives your team confidence in every visual change before it’s shipped. Learn more at </em><a href="https://percy.io/"><em>https://percy.io</em></a><em>.</em> 🔎</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eb7a959b9d54" width="1" height="1" alt=""><hr><p><a href="https://medium.com/perceptual-percy/visual-testing-for-angular-apps-with-protractor-eb7a959b9d54">Visual testing for Angular apps with Protractor</a> was originally published in <a href="https://medium.com/perceptual-percy">Percy Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Percy for Puppeteer: Automated visual testing for Chrome]]></title>
            <link>https://medium.com/perceptual-percy/percy-for-puppeteer-automated-visual-testing-for-chrome-94143018ba79?source=rss-58ae6a33490------2</link>
            <guid isPermaLink="false">https://medium.com/p/94143018ba79</guid>
            <category><![CDATA[test-automation]]></category>
            <category><![CDATA[test-automation-framework]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[puppeteer]]></category>
            <category><![CDATA[front-end-development]]></category>
            <dc:creator><![CDATA[David Jones]]></dc:creator>
            <pubDate>Tue, 13 Nov 2018 15:17:08 GMT</pubDate>
            <atom:updated>2018-11-13T15:19:53.310Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IG4GAX0eTELuNNVHPP6Qcg.png" /></figure><p>We’re excited to announce our new Puppeteer integration! You can now add Percy to your Puppeteer setup to kick off visual snapshots when and where you want them.</p><p><em>Using </em><a href="https://blog.percy.io/percy-for-cypress-end-to-end-visual-testing-aac39d33f56d"><em>Cypress</em></a><em> or </em><a href="https://blog.percy.io/automated-visual-testing-nightmare-percy-e5c335eac4da"><em>Nightmare</em></a><em>? We recently launched support for those test frameworks as well!</em></p><h3>Percy for Puppeteer: Automated visual testing for Chrome</h3><p><a href="https://developers.google.com/web/tools/puppeteer/">Puppeteer</a> is a popular package created by the Google Chrome team to control Chrome and Chromium. You can use it to crawl and manipulate web pages, automate user actions, and more! Because of its flexibility, user-friendly API, and power, Puppeteer has also become a popular tool for creating and running end-to-end tests.</p><p>Percy now works with Puppeteer to send and render snapshots used for <a href="https://percy.io/visual-testing">visual testing and reviews</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/948/1*Pk60gaZRBsEvZZxnnYUvlg.gif" /><figcaption>For a tutorial on getting started with Percy and Puppeteer, walk through our <a href="https://docs.percy.io/docs/puppeteer-tutorial">Puppeteer tutorial</a>.</figcaption></figure><p>With our Puppeteer SDK, you can add Percy snapshots within your tests wherever you’d like visual coverage. When a snapshot is called, Percy will render a full page screenshot for <a href="https://blog.percy.io/product-spotlight-series-visual-testing-and-visual-diffs-6a1fc540fc93">visual testing</a>.</p><h3>It’s easy to get started!</h3><p><strong>For a more in-depth look at adding Percy snapshots to your Puppeteer tests, check out our Puppeteer </strong><a href="https://docs.percy.io/docs/puppeteer"><strong>documentation</strong></a><strong> and </strong><a href="https://docs.percy.io/docs/puppeteer-tutorial"><strong>tutorial</strong></a><strong>.</strong></p><ol><li>Install @percy/puppeteerusing npm or yarn. For example:</li></ol><pre>npm install --save-dev @percy/puppeteer</pre><p>2. Import percySnapshot()into your file:</p><pre>const { percySnapshot } = require(&#39;@percy/puppeteer&#39;)</pre><p>3. Call percySnapshot(page, &lt;snapshotName&gt;) where you want to add snapshots:</p><pre>describe(&#39;Integration test with visual testing&#39;, function() {<br>  it(&#39;Loads the homepage&#39;, async function() {<br>    const browser = await puppeteer.launch()<br>    const page = browser.page() <br>    await page.goto(&#39;http://localhost:8000&#39;)<br>    await percySnapshot(page, this.test.fullTitle())<br>  })<br>})</pre><p>Optionally, you can add a hash to include responsive breakpoint widths at which you want to take snapshots.</p><p>4. Finally, wrap your test runner call in the percy exec -- command. This will start a Percy agent to receive snapshots and upload them to your Percy dashboard.</p><p>For example, if you’re using Jest for your tests, your new test command becomes:</p><pre>percy exec -- jest</pre><p><em>(Note the spaces around the </em><em>--</em>)</p><p>That’s it! Now, whenever CI runs, a snapshot of your app in that state will be uploaded to Percy for visual regression testing!</p><p>We built this SDK–along with our new <a href="https://blog.percy.io/percy-for-cypress-end-to-end-visual-testing-aac39d33f56d">Cypress SDK</a> and <a href="https://blog.percy.io/automated-visual-testing-nightmare-percy-e5c335eac4da">Nightmare SDK</a>–in an effort to break down more barriers to accessing visual testing. This new generation of SDKs makes it easier for teams to integrate Percy with their existing test suites and workflows–no matter what they’re using. Stay tuned to see the next batch of SDKs we have in store for you!</p><p>We’d love to hear your feedback as we evolve and strengthen these SDKs! Drop us a line on <a href="https://twitter.com/percy_io">Twitter</a> or send an email to support@percy.io!</p><p><em>Percy is a visual testing platform that gives your team confidence in every visual change before it’s shipped. Learn more at </em><a href="https://percy.io/"><em>https://percy.io</em></a><em>.</em> 🔥</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=94143018ba79" width="1" height="1" alt=""><hr><p><a href="https://medium.com/perceptual-percy/percy-for-puppeteer-automated-visual-testing-for-chrome-94143018ba79">Percy for Puppeteer: Automated visual testing for Chrome</a> was originally published in <a href="https://medium.com/perceptual-percy">Percy Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Visual testing in Nightmare with Percy]]></title>
            <link>https://medium.com/perceptual-percy/automated-visual-testing-nightmare-percy-e5c335eac4da?source=rss-58ae6a33490------2</link>
            <guid isPermaLink="false">https://medium.com/p/e5c335eac4da</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[test-automation]]></category>
            <category><![CDATA[nightmarejs]]></category>
            <category><![CDATA[test-automation-framework]]></category>
            <category><![CDATA[visual-testing]]></category>
            <dc:creator><![CDATA[David Jones]]></dc:creator>
            <pubDate>Tue, 06 Nov 2018 14:00:25 GMT</pubDate>
            <atom:updated>2018-11-06T19:07:47.620Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a3Zl5W-SZJLp3fEqSLNiHw.png" /></figure><p>We’re excited to announce our new NightmareJS integration! You can now add Percy snapshots to your Nightmare tests for automated visual testing.</p><h3>Visual testing in Nightmare with Percy</h3><p><a href="http://www.nightmarejs.org/">Nightmare</a>, the high-level browser automation library built by <a href="https://segment.com/">Segment</a>, automates and mimics user actions within browsers. Now, with Percy, you can utilize Nightmare not only for driving end-to-end testing but to kick off automated visual testing as well!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/908/1*BD7bxE91tKHrkAd_GrF3-g.gif" /><figcaption>Walk through our <a href="https://docs.percy.io/docs/nightmare-tutorial">Nightmare tutorial</a> to learn how to add visual tests to your Nightmare tests.</figcaption></figure><p>With our <a href="https://docs.percy.io/docs/nightmare">Nightmare SDK</a>, you can add Percy snapshots within your tests wherever you’d like visual coverage. When a snapshot is called, Percy will render a full page screenshot–across different browsers and responsive widths–for <a href="https://blog.percy.io/product-spotlight-series-visual-testing-and-visual-diffs-6a1fc540fc93">visual testing</a>.</p><h3>It’s easy to get started!</h3><p>1. Install @percy/nightmare with npm or yarn. For example:</p><pre>npm install --save-dev @percy/nightmare</pre><p>2. Import percySnapshot() into your test file:</p><pre>const { percySnapshot } = require(&#39;@percy/nightmare&#39;)</pre><p>3. Call nightmare.use(percySnapshot(...) where you want to add snapshots:</p><pre>describe(&#39;Integration test with visual testing&#39;, function() {<br>  it(&#39;Loads the homepage&#39;, function() {<br>    nightmare<br>    .goto(&lt;URL under test&gt;)<br>    .use(percySnapshot(&#39;Homepage snapshot&#39;)<br>    // Any other test actions<br>    .end()<br>  })<br>})</pre><p>4. Finally, wrap your test runner call in the percy exec -- command. This will start a Percy agent to receive snapshots and upload them to your Percy dashboard.</p><p>For example, if you are using <a href="https://mochajs.org/">Mocha</a> for your tests, your new test command becomes:</p><pre>percy exec -- mocha</pre><p><em>(Note the spaces around the </em>--<em>)</em></p><p>That’s it! Now, whenever CI runs, a snapshot of your app in that state will be uploaded to Percy for visual regression testing!</p><p><strong>For a more in-depth look at adding Percy snapshots to your Nightmare.js tests, check out our </strong><a href="https://docs.percy.io/docs/nightmare"><strong>Nightmare set up guide</strong></a><strong> and </strong><a href="https://docs.percy.io/docs/nightmare-tutorial"><strong>Nightmare tutorial</strong></a><strong>.</strong></p><p>At Percy, it’s our goal to make visual testing work more seamlessly with the tools you’re already using. This integration, in addition to last week’s <a href="https://blog.percy.io/percy-for-cypress-end-to-end-visual-testing-aac39d33f56d">Cypress SDK launch</a>, is an exciting step towards that goal.</p><p>We’d love to hear your feedback! Drop us a line on <a href="https://twitter.com/percy_io">Twitter</a> or send an email to support@percy.io and stay tuned for our upcoming announcements!</p><p><em>Percy is a visual testing platform that gives your team confidence in every visual change before it’s shipped. Learn more at </em><a href="https://percy.io/"><em>https://percy.io</em></a><em>.</em> 💚</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e5c335eac4da" width="1" height="1" alt=""><hr><p><a href="https://medium.com/perceptual-percy/automated-visual-testing-nightmare-percy-e5c335eac4da">Visual testing in Nightmare with Percy</a> was originally published in <a href="https://medium.com/perceptual-percy">Percy Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Percy for Cypress: End-to-end visual testing in three steps]]></title>
            <link>https://medium.com/perceptual-percy/percy-for-cypress-end-to-end-visual-testing-aac39d33f56d?source=rss-58ae6a33490------2</link>
            <guid isPermaLink="false">https://medium.com/p/aac39d33f56d</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[end-to-end-testing]]></category>
            <category><![CDATA[cypress]]></category>
            <category><![CDATA[visual-testing]]></category>
            <category><![CDATA[software-testing]]></category>
            <dc:creator><![CDATA[David Jones]]></dc:creator>
            <pubDate>Tue, 30 Oct 2018 12:40:20 GMT</pubDate>
            <atom:updated>2018-10-30T12:51:52.539Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8LGqIhsxZlanb5KkS3gpsg.png" /></figure><p>We’re thrilled to announce our new <a href="https://www.cypress.io/">Cypress</a> integration! You can now easily drop Percy snapshots into your Cypress tests for end-to-end visual testing.</p><h3><strong>Percy for Cypress: End-to-end visual testing in three steps</strong></h3><p><a href="https://www.cypress.io/">Cypress</a>, the open source test framework built for developers, makes it easy to set up and run end-to-end functional tests for anything that runs in a browser. Cypress is speedy, flexible, and great for ensuring your app is functioning across complex application operations, UI states, dynamic data, and mobile responsive views.</p><p>Percy picks up where Cypress leaves off, giving developers seamless access to visual regression testing within their existing Cypress scripts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/986/1*6Y2cfSFZKShotqJpwEjqWA.gif" /><figcaption>Our <a href="https://dash.readme.io/project/percy/v1/docs/cypress-tutorial">Cypress tutorial</a> walks you through adding visual testing to an example application.</figcaption></figure><p>With this integration, you can now easily leverage your existing Cypress tests to add pixel-by-pixel visual comparisons on every change, to ensure your app not only <strong>works</strong> as intended but also <strong>looks</strong> as intended.</p><h3>It’s easy to get started!</h3><ol><li><strong>Install and import </strong><strong>@percy/cypress</strong></li></ol><p>First, run:</p><pre>npm install --save-dev @percy/cypress</pre><p>Then, at the top of cypress/support/command.js:</p><pre>import &#39;@percy/cypress&#39;</pre><p><strong>2. Add Percy snapshots to your Cypress tests</strong></p><pre>describe(&#39;Integration test with visual testing&#39;, function() {<br>  it(&#39;Loads the homepage&#39;, function() {<br>    // Load the page or perform any other interactions with the app.<br>    cy.visit(&lt;URL under test&gt;)<br><br>    // Take a snapshot for visual diffing<br>    cy.percySnapshot()<br>  })</pre><p><strong>3. Wrap your test runner call with the</strong><strong>percy exec -- command</strong></p><p>This will start a Percy agent to receive snapshots from your Cypress tests and upload them to your Percy dashboard.</p><pre>percy exec -- cypress run</pre><p><em>(Note the spaces around the</em> —- <em>)</em></p><p>That’s it! Now, whenever CI runs, a snapshot of your app in that state will be uploaded to Percy for visual testing!</p><p><strong>For a more in-depth look at adding Percy snapshots to your Cypress tests, check out our </strong><a href="https://docs.percy.io/docs/cypress"><strong>Cypress set up guide</strong></a><strong> and </strong><a href="https://docs.percy.io/docs/cypress-tutorial"><strong>Cypress tutorial</strong></a><strong>.</strong></p><p>At Percy, it’s our goal to make visual testing work more seamlessly with the tools you’re already using. This integration is an exciting step towards that goal, and we look forward to introducing even more integrations soon. <strong>Stay tuned for our upcoming announcements by clicking ‘Follow’ below.</strong></p><p><em>Percy is a visual testing platform that gives your team confidence in every visual change before it’s shipped. Learn more at </em><a href="https://percy.io/"><em>https://percy.io</em></a><em>.</em>💜</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aac39d33f56d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/perceptual-percy/percy-for-cypress-end-to-end-visual-testing-aac39d33f56d">Percy for Cypress: End-to-end visual testing in three steps</a> was originally published in <a href="https://medium.com/perceptual-percy">Percy Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>