saw this on X today, how can we build something similar in Replit?
Replit Agent has a toggle for testing. Depending on how big your app is, this could get expensive since it will test/fix as it goes.
It’s doing end to end (e2e) tests which requires puppeteer or another e2e framework to be installed. I’d toggle the chat to Plan mode and ask it to come up with a plan to create e2e tests for your frontend. Then execute the plan in Agent atonomous/Low level mode so it doesn’t try and be creative.
Then toggle back to plan mode and ask it how you manually run those tests. It’ll give you the command line that you can copy and paste into the Shell. That way you’re not paying to have the Agent run the tests. You can just run the command line
Agent can create and execute Playwright tests that it executes via curl.
We built a tool that is specific for this: scoutqa.ai
You can paste the URL of the app you are building, and it will test and produce a report similar to that.
Or simply add scoutqa to your Replit link like it will start automatically:
https://loan-visualizer--tqhuy1991.replit.app/ =>

