Testing Forms and Input Validation

Every app will end up having a form somewhere, and testing these is very important because forms can quickly become complex to maintain.

We've already covered getting elements on the page and how to use userEvent to fill out inputs, so now let's combine it all and test a form.

Loading full lesson content & code...

Ready to try running tests for this lesson?