Automated visual regression testing with TypeScript, Puppeteer, Jest and Jest Image Snapshot

This page summarizes the projects mentioned and recommended in the original post on dev.to

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • bpmn-visualization-js

    A TypeScript library for visualizing process execution data on BPMN diagrams

  • I will use the BPMN Visualization project (version 0.10.0) as an example. (This example has been simplified so it shows more clearly the configuration and features explained in this article.) The goal of this project is to load BPMN content, and render it. Automated visual tests will simplify our life with each refactoring, addition of a new component, update of the positioning algorithm of the different BPMN elements, or update of the MxGraph rendering library.

  • jest-image-snapshot

    ✨ Jest matcher for image comparisons. Most commonly used for visual regression testing.

  • Github repository of Jest-image-snapshot: https://github.com/americanexpress/jest-image-snapshot

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • puppeteer

    Node.js API for Chrome

  • Create a new file (./test/e2e/jest-puppeteer.config.js) for the Puppeteer configuration to run the server & launch the browser once for all tests:

  • jest

    Delightful JavaScript Testing.

  • Jest + its type definition: A JavaScript Testing Framework Jest is a fully featured testing framework, developed by Facebook. It needs very little configuration and works basically out of the box.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Testing with Jest and React Testing Library

    6 projects | dev.to | 18 Sep 2022
  • Superset: Testing and Enzyme to RTL conversion

    4 projects | dev.to | 31 May 2022
  • React component testing with Jest and React Testing Library

    5 projects | dev.to | 7 Sep 2021
  • Study Notes for Kent C. Dodds' Javascript Testing Course

    9 projects | dev.to | 3 Aug 2021
  • Image Snapshot Testing with Mocha

    4 projects | dev.to | 5 Mar 2021