I’m curious how others are testing their application’s javascript queries/code. I have these “meaty” javascript queries and I’m becoming less confident in change management (ie not breaking things when changes are made). I have the same question for UI testing (eg selenium, playwright, etc) and unit testing workflow javascript blocks. Any insight would be amazing.
Hey @lkiss
Thanks for reaching out to the Retool community!
While we wait for some other developers to chime in on what they are doing, I would like to chime in that Retool provides a short guide here on writing test plans for your Retool app. Write WebDriver tests | Retool Docs
We also have this Youtube video from our page using these tools. https://www.youtube.com/watch?v=_aLPEjv-Iss
Is this what you are using now for testing? If so, are you running into any issues or just curious on a particular type of testing?
Let me know! I can do my best to help. ![]()
Regards,
John | Retool Support
@John_V Thanks for chiming in.
Shhh, don’t tell anyone this – I’m not performing any automated tests with my apps. I would love to, hence the initial inquiry above.
I have a few teams here that have used Playwright without success. They ran into a number of obstacles and ditched it. I will ask around and create another topic if there were specific obstacles related to Retool specifically. I do know that to test our Retool apps requires a bunch of data in salesforce and other internal systems, and I suspect building out the “setup” data and functions to get everything into a known state before running the tests is a challenge. I do know they are going to revisit within the next 2 months.
Hey @lkiss
Happy to help out!
Feel free to just write back here whenever you hear back from that team and if any questions come up around the topic. I would be happy to help clarify further.
Looking forward to hearing back ( eventually ) ![]()
Regards,
John | Jira Support