Retool: Sample of TAPIs and Tests for Retool

Published on March 11, 2024
Photo by Tina Nord — https://www.pexels.com/@nord6/

Here is a sample that demonstrates how to login and manipulate a simple Retool form in a test. The rest of the tests are too involved to share, when I have more time I can generalize and share those tests. These tests are written using Playwright and built in TypeScript.

The login testing API (TAPI):

The user creation TAPI:

The test setup:

The tests: