Skip to content

Test a live app safely

How-to 6 min read Updated 30 November 2026

The testing agent works in a real browser. It clicks, fills in forms and submits them, exactly like a user. On a staging app that is what you want. On your live app it can mean a real order, a real sign-up or a real message. This page shows how to set up a project so that tests check your flows without leaving traces, and what to do if a test already did.

For product owners and CTOs

Treat the agent like a new tester on their first day: give it a test environment, a test account and a short list of things it must never do. Generated tests have placed a cash-on-delivery order on a live shop, left half-finished sign-ups and created a new account on every run of a sign-up test. None of that happens on staging.

Use staging first

Also called: test environment, preview deployment, sandbox, UAT, production testing.

Point the project at a staging, preview or test copy of your app whenever you have one:

  • Payments in test mode, for example your payment provider's test keys, so a completed checkout charges nobody.
  • E-mails and SMS that go nowhere real, or to a test inbox.
  • Data you can reset. Orders, accounts and messages created by tests can be deleted without asking anyone.

Staging must open from the internet for the agent to reach it. If it sits behind a VPN, a password page or preview protection, see Can the agent reach your app?

What can happen on a live app

Also called: the test placed an order, the agent created an account, side effects, real transactions.

Two moments touch your app without you clicking anything:

  1. The first analysis explores. The agent moves through your app, opens forms and follows the flow your instructions name.
  2. It runs up to 4 tests on its own when it is done. It picks the tests most likely to find a bug and a main flow, such as checkout or sign-up. See Why the first board is red.

After that, tests run when you or a schedule start them. A test that ends with "a confirmation page with an order number is shown" really places the order, every time it runs.

The agent has no built-in rule against orders, payments or sign-ups. It follows the rules you give it in the project context and in each test. Those rules lower the risk a lot, but they are instructions to an AI, not a lock. The only hard guarantee is an environment or an account where nothing real can happen.

Use a test account

Also called: test user, dedicated account, QA account.

Give the agent its own account, as described in Add a test account, and make it easy to recognise and clean up:

  • Name it clearly, for example Wopee.io Test, so anyone who sees its orders or messages knows what they are.
  • Use an e-mail address you control, such as qa+wopee@yourcompany.com, so confirmation e-mails reach you and not a stranger.
  • No stored card and no real payment method. If the shop offers cash on delivery or invoice payment, disable it for this account or keep it out of the tests.
  • Not an admin, unless admin features are what you test.

Write the rules down: a MUST NOT template

Also called: never place an order, safety rules, guardrails, forbidden actions.

Put the rules where every generation and every run reads them: the Always and never section of the project context. Paste these lines into that section (the whole block, heading included, if your context has none yet) and keep the lines that fit your app:

## Always and never

- This is the live production app. Real customers see what you create.
- Never place an order, complete a payment or confirm a booking. Stop on the page before the final button and check what it shows.
- Never create a new account. Sign in with ${TESTING_USERNAME} and ${TESTING_PASSWORD}.
- Never send a message, review, invitation or contact form to a real person.
- Never change or delete records the test did not create.
- Never change the password, e-mail address or settings of the test account.
- Never choose cash on delivery, invoice or any other payment method that needs no card.

Then add a MUST NOT line to every test that comes close to such a step. For example, a checkout test written as an intent test:

GOAL: A signed-in customer can get to the payment step with two products in the cart.
PASSES WHEN:
- The order summary lists both products and a total equal to their prices plus shipping.
- The payment step is shown with the button "Place order".
MUST NOT:
- The "Place order" button is clicked.
- A new account is created.
DATA: Sign in with ${TESTING_USERNAME} and ${TESTING_PASSWORD}.

Set the rules before the first exploration

The first analysis starts as soon as you create the project, so the rules must be in place before that. Write the most important rule into Test instructions in the NEW PROJECT dialog, for example "This is production: never place an order or create an account." You can also open Advanced settings in the dialog, switch off Explore the app and generate tests, paste the project context and add the test account first, then click Create tests with AI on the Analysis tab. On the free plan that exploration counts against your 50 steps: only the analysis the NEW PROJECT dialog starts is free.

Before you schedule

A scheduled test plan repeats every test in it, every day. Before you add a test to a schedule on a live app, open it and read its description and steps:

  • A test that submits an order, a sign-up or a message stays out of the plan, or is edited to stop before the final step.
  • A test that creates a record must also delete it, or use a record that may pile up without harm.

How to set up the plan: Run them every day: a test plan.

If a test created records

Also called: the agent placed a real order, cancel test order, clean up test data, delete test accounts.

  1. Stop it from running again. Stop a run in progress from the test's ⋮ menu with Stop run. If the test is in a scheduled plan, open the plan, click the pencil next to Schedule on its Settings tab and click Remove schedule, or take the test out of the plan.
  2. Find out what it did. Open the run and read its Report and Steps. The screenshot of each step shows the form it filled and the page it reached, including order numbers, the e-mail address it used and confirmation messages.
  3. Clean up in your app. Cancel or refund the order, delete the accounts and records the test created, and tell anyone who received a message or a delivery request because of it.
  4. Change the test. Add a MUST NOT line, or edit it to stop before the final step, or delete it. Add the rule to the project context so new tests follow it too.
  5. Tell us when the agent ignored a rule. If the test had a MUST NOT line and still did it, write to help@wopee.io with the link to the run.