The Essential Guide to Automated Visual Regression Testing

Written by csouchet | Published 2021/05/03
Tech Story Tags: typescript | puppeteer | jest | jest-image-snapshot | testing | visual-regression-testing | programming | coding

TLDR Using Jest-Image-Snapshot (Jest matcher) in Typescript project, we have 3 Jest configurations: unit tests, e2e tests, and performance tests. We use the BPMN Visualization project (version 0.10.0) as an example. It is possible to use most of the actions that are done manually on a browser and take screenshots. We need to install the required packages as devependencies: Jest + its type definition: A JavaScript Testing Framework, developed by Facebook.via the TL;DR App

no story

Written by csouchet | R&D Engineer at Bonitasoft. Working on an open source project: https://github.com/process-analytics
Published by HackerNoon on 2021/05/03