Testing a React Webapp

Any suggestions on a framework to test a React web app? Users report bugs like buttons not working or graphs not rendering which I’d like to prevent. I have error reporting but how can I catch this before my users do?
4 Replies
Matvey
Matvey2y ago
playwright?
Danta
DantaOP2y ago
Does it make API calls?
Matvey
Matvey2y ago
yes, it's e2e testing tool, it launches a browser, where tests can automatically navigate to pages / fill forms etc. You can write test to check if all necessary elements are present and there no api errors
Danta
DantaOP2y ago
Will try it out
Want results from more Discord servers?
Add your server