Webpack Cypress Component Tests Setup
I recently installed the cypress component testing library in a custom webpack project. In doing so I ran into a few issues. Here are my notes on what I did to solve these issues. Most of these notes can be found on the cypress component testing introduction documentation but with a few tweaks. Install Node Packages yarn add --dev cypress @cypress/react @cypress/webpack-dev-server webpack-dev-server html-webpack-plugin@^4.0 In my case I was using webpack version 4 but if you are using webpack version 5 then you can install html-webpack-plugin@^5....