E2E tests give you confidence, but are too slow. Unit tests are fast, but don’t give you confidence. Either you test things that don’t matter or your tests are too slow to be helpful. Or you give up on testing completely.
What if you could get the confidence of e2e tests at the speed of unit tests? Well, almost.
Learn how to use Nx, Storybook and Cypress to write UI tests that give you a confidence level close to that of an e2e test while leveraging Nx’s affected command to only run the UI tests that are affected by a particular PR.