Read more about it in my blog post here.
npm test / yarn test: To run the tests.
Add new endpoints to the endpoints.ts file. It contains of a regex string that matches the url, the HTTP method used (not used by Playwright) en the base folder for the scenario's.
Add scenario's for an endpoint in the designated base folder. Then mock the endpoint using await I.mockEndpoint(<endpoint>>, <scenario>>);
npm run lint / yarn lint: To lint the typescript files