
The testing agent in the app editor
Creating your tests
You can let AI generate tests from your app’s context and chat history, or write them yourself.
The testing agent panel showing your tests
Generating tests with AI
Let AI suggest tests based on your app’s flows and chat history, then pick the ones you want to add.- Click the More Actions icon at the top of the app editor.
- Select Testing Agent.
- Click Generate tests with AI if you have no tests yet, or click Add Test and select Generate with AI if you already have tests.
- Review the suggested tests, uncheck any you don’t want, and click Add Tests to confirm.
Adding a test manually
Write your own test by giving it a name and describing the flow you want the agent to run.- Click the More Actions icon at the top of the app editor.
- Select Testing Agent.
- Click Add test manually if you have no tests yet, or click Add Test and select Add manually if you already have tests.
- Enter a Test name.
- Enter a Prompt scenario describing the flow you want to test (for example, “Browse products, add one to cart, and complete checkout”).
- Click Save.
Running your tests
All your tests are listed in the testing agent panel. Each test shows its current status and the last time it ran. To run one or more tests:- Click the More Actions icon at the top of the app editor.
- Select Testing Agent.
- Select the checkboxes next to the tests you want to run.
- Click Run test at the bottom of the panel.

Selecting and running tests
- Running tests uses credits. The amount depends on how long and complex the test is. You can see the credits used for each run in the test results.
- If you run out of credits while a test is running, the test is automatically paused. To continue testing, upgrade your plan.
Viewing test results
Once a test finishes, click the test card to open its results. From there you have a few options: See the issues Click the Issues tab to view any problems the agent found, labelled as Critical or Warning. Select the ones you want to fix using the checkboxes, then click Fix with AI. This automatically sends a prompt to the AI chat so the AI can get straight to work on a fix. See what the agent did Click the Activity tab to see every step the agent took in the browser, in order. Click the arrow on any step to expand it and see more detail about what the agent did at that point. Re-run the test After applying a fix, click Test Again at the bottom of the panel to re-run the test and confirm the issue is resolved.
Test results showing Issues and Activity tabs
Managing your tests
You can edit or delete a test from inside its detail view. To edit or delete a test:- Click the More Actions icon at the top of the app editor.
- Select Testing Agent.
- Click the test card to open it.
- Click the More Actions icon at the top right of the detail view.
- Do one of the following:
- Edit: Update the test name or scenario.
- Delete: Remove the test and all its results permanently.
FAQs
Click a question below to learn more about the testing agent.Which plan do I need to use the testing agent?
Which plan do I need to use the testing agent?
What is the difference between the testing agent and test data?
What is the difference between the testing agent and test data?
Does running a test affect my live app data?
Does running a test affect my live app data?
Why does my test show "App changed since last run"?
Why does my test show "App changed since last run"?
Can the testing agent log in to my app?
Can the testing agent log in to my app?
How many credits does a test run use?
How many credits does a test run use?
What happens if I run out of credits?
What happens if I run out of credits?
Does the testing agent test as a new user?
Does the testing agent test as a new user?
Can I run tests on a schedule?
Can I run tests on a schedule?
Why is my test taking a long time?
Why is my test taking a long time?