Back to Resources

Blog

Posted February 16, 2021

End-to-End Testing for Sauce Visual Solution Now Available

End-to-End (E2E) testing for the Sauce Visual solution is now available, which means organizations can now add an additional layer of coverage to their existing testing strategy to achieve digital confidence and deliver a flawless application experience to their customers. 

quote

We’re excited to announce the general availability of End-to-End (E2E) testing for the Sauce Visual solution. Organizations can now add an additional layer of coverage to their existing testing strategy to achieve digital confidence and deliver a flawless application experience to their customers. 

Sauce Visual simplifies automation while increasing coverage and confidence. A single visual snapshot can cover hundreds of assertions, reducing the need to write and main complex tests, dramatically simplifying test automation. 

Visual testing provides coverage in areas that traditional functional testing cannot. In a functional test, it’s only verifying that the app is behaving correctly. It is not checking to see if data is missing, images are broken, elements are wrong, layouts are incorrect, and styles are not loading. 

Assertions can be written to test every little bit of a page. However, that would involve a high level of effort to write and maintain, especially as applications change over time. The downside to assertions is that it is only testing what has been explicitly asserted, leaving a gap in coverage. 

Sauce Visual makes it easier for users to see what has changed. It takes an image screenshot and DOM snapshot containing programmatic data to perform a comparison from two perspectives, providing users with more details. The Change List highlights all the diffs between the previously accepted baseline and the new screenshot. 

In the animation above, there were changes detected to the structure, layout, and content of the new image. Expanding the Change List reveals to a user exactly what has changed and where it changed. Additional color indicators point out if the change was added (green), modified (orange), or removed (red).

By harnessing the power of automation, E2E testing with Sauce Visual:

  • Automatically detects visual regressions across application UI

  • Increases test coverage by performing both visual and functional testing

  • Allows you to run tests in parallel for fast execution across multiple browsers and screen resolutions

Published:
Feb 16, 2021
Share this post
Copy Share Link
© 2023 Sauce Labs Inc., all rights reserved. SAUCE and SAUCE LABS are registered trademarks owned by Sauce Labs Inc. in the United States, EU, and may be registered in other jurisdictions.