Back to React Hook Form

App for Playwright automation

app/README.md

7.82.0560 B
Original Source

App for Playwright automation

What?

This app is used by Playwright for e2e testing purpose

Why?

We simply want to test each react-hook-form functionality in a separated environment. The current app folder is used for this purpose.

How?

Each react-hook-form functionality (ex. formState, reset, useFieldArray) that we want to test is rendered at specific route (see app.tsx) Playwright uses those routes for testing (you could navigate those routes for manual testing: http://localhost:3000/).

How can be used:

  1. npm i && npm run dev