Re:Launched SaaS product with broken sign up screen. 40 miss...
by morris14 on Wednesday June 01, 2022 @07:52AM
(#31580562)
Thanks Ben! I've actually toyed with using this library too, and Cypress.
We use jest for JS functionality testing and PHPUNIT for the backend tests. Will certainly look into Puppeteer more though!
My UI tests start at a page, navigate to a target, try and fill out the form, verify error messages occur, successful submission occurs, resize to test responsiveness, dark mode etc. You can even have it type into Stripe element fields that are generated by their JS within iframes.
https://www.npmjs.com/package/puppeteer