Cypress Component Testing vs Storybook Interaction Testing

This page summarizes the projects mentioned and recommended in the original post on /r/javascript

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • react-hover-video-player

    A React component for rendering videos that play on hover, including support for mouse and touch events and a simple API for adding thumbnails and loading states.

  • I maintain an open source React component library which heavily uses Cypress component tests and I really enjoy it. The component's behavior is heavily based on being able to load and play videos, so Jest was completely out of the question without having to do ridiculous amounts of mocking. I've had to really push Cypress to the absolute limits of what it can do and some tests are a little flakier than I'd like as a result, but there's just nothing else out there that can really compete. I haven't tried Storybook yet but it looks incredibly interesting, hopefully I'll get a chance to give that a shot soon

  • 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
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