
Learn to perform automated visual testing on a live production site with Cypress and Apple IO, covering lazy loading, JavaScript errors, and dynamic content, across desktop and mobile viewports.
Identify visual problems on a live WordPress.com site across viewports, including image clipping, logo drop, and text wrapping. Test that the production site renders as intended for end users.
Learn to implement visual testing with Cypress and Happo to validate a live production site across multiple viewport sizes, browsers, and operating systems, using visual specs and Cypress configuration.
Determine the key viewport sizes and browsers, focusing on Chrome and Safari, to ensure the app looks correct on desktop and mobile. Learn to capture snapshots, compare visual diffs, and identify responsive bugs across devices like iPhone 12 Pro, iPad, Galaxy S10, and MacBook Pro.
Run the visual cyborgs test for the base URL using Cypress and Happo, manage lazy loading with scroll, and capture cross-viewport snapshots to identify diffs.
Hide dynamic elements with the dynamic elements method to produce stable, white-box snapshots and avoid scrolling-related false positives.
Get hands-on with Cypress by installing dependencies, opening the Cypress UI, and running exercise-based tests for a live website. Learn base URL setup, before-each resets, and cross-origin considerations.
Cypress and Happo are two tools that can be used to test a website. Happo is like a remote control for your browser, allowing you to open multiple tabs at the same time. Cypress is an extension for Chrome and Firefox browsers, allowing you to test websites by simulating how visitors will interact with them. There are several advantages to using Cypress and Happo together.
For example, you can use Happo to test pages that might not have any content yet, while Cypress can simulate visitors who have actually found the page. On the other hand, there are some disadvantages as well. For instance, Cypress requires a steady Internet connection, so it’s not always reliable when trying to test a website during periods of heavy network traffic. In addition, both tools are very basic and might not be suitable for complex testing scenarios. So, if you’re looking for a way to quickly test whether your website works as expected when visitors arrive on it, then Cypress and Happo may be worth considering.
In today's tutorial, we're going to learn how to do automated visual testing on a live production website. And we're going to do that using Cypress and Happo.
You will learn to:
Identify the problem
Code Setup using Cypress and Happo
Visual Differences between browsers & viewport sizes
Code a Visual Test
Handle Dynamic Content
Ready to start? Check out the full curriculum and jump into the tutorial.
What our students are saying?
"I appreciate the time the instructor put on this course as well as the opportunity to get familiar with TestProject free of charge. Well explained, however, if you are using Windows and you are new in Automation Testing, you might find it a bit challenging with adding the SDK Token in your system environment since the instruction used MAC which is completely a different way with windows. Other than that... I appreciate a lot this free course .... thank you so much"
“Wonderful content and things explained in a nutshell. Overwhelmed by Author's dedication to putting things in such a way that any novice or manual tester can follow and understand and definitely be on-boarded as a Selenium Automation Engineer the next day at work. Thanks a million times for creating these courses! One Stop for Automation."- Rupashree Geethaaviji Ananthakrishna
“I am familiar with Nikolay from a course I saw on TestAutomation and have the highest regard for him. Glad to see him on Udemy.” - Annamalai Viswanathan