Hacker News new | ask | show | jobs
Launched SaaS product with broken sign up screen. 40 missed sign ups
5 points by morris14 1480 days ago
Yesterday I launched https://shotfeed.io, a tool that Simplifies the feedback and collaboration process between designers and developers.

I was wondering why we were getting traffic, but zero sign ups...then someone let me know that the sign up flow was broken...it was such a small bug too, we had 1 test environment URL set instead of a live URL for the submission...

1 comments

I like to use a library called Puppeteer which is an API for Chrome/Firefox, in conjunction with a testing library (mocha) to verify UI works as expected.

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

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!