Introduction
Testing small pieces of code with Vitest is important, but we also need to check if our whole website works properly for users.
Clicking through your website manually to test everything takes a long time and you might forget to check some things.
This is where end-to-end (e2e) testing with Playwright comes in. Playwright is like having a robot that can automatically open a web browser and click around your website to make sure everything works together correctly. In this module, we’ll learn how to use Playwright to test important things like logging in.