Docs › Setting up a test

Writing missions

A mission is one task: what the visitor wants, in their own words, and what must be on screen when they are done.

What a mission is made of

On Set up, press Edit next to a mission, or + Add your own mission under the list.

FieldWhat to write
NameA short label for reports and trends, such as Gift card balance.
What the visitor wants, in their wordsThe goal as the person would put it: “You got a gift card for your birthday. Find out how much is left on it.”
Done whenWhat must be on screen for the task to count as done: “The balance is on screen.”
Starts atA path on the site, such as /account/orders. Leave it as / for the site's home, or the environment's address when you test one.
SituationUnder More detail: who they are and why they came.
Expected pathUnder More detail, optional: the steps you expect, one per line. A tester who gets there another way is marked Got there with detours.

Two switches below them: Needs a signed-in account and AI agents try this one too. Press Done to close the mission.

Describe the goal, not the buttons

Real visitors arrive with a goal, not instructions. A task that says “click”, “menu”, “tab” or “button” tells the tester where to look, and hides the very problem you want to find. Set up warns when a task names the interface: The task names the interface (“click”). Describe the goal instead.

Instead ofWrite
Click the account menu and open Orders.You ordered a lamp last week. Find out when it will arrive.
Use the search bar to find running shoes in size 10.You need running shoes for a 5K next month. Find a pair in size 10.

Make Done when something you can see

Testers never see Done when or the expected path. When a tester stops, a separate judge compares what is on screen with Done when. Write something visible: a page, a number, a form ready to send. “The application form for a specific open job is on screen, not sent” works; “They understand the careers page” does not.

Testers can be confident and wrong, as people are: one may say they are done when they are not. The judge catches it, and the report marks it Thought they were done.

Your own missions

Missions you add on Set up are tagged Yours. They are saved with the site when you press Done, and come back every time you test that site, whatever template you use. Sites › your site lists them under Your own missions here. To remove one for good, edit it and press Delete.

Other tags say where a mission came from: Suggested by Set it up for me, or Team from a team template. Template missions show Remove instead of Delete: it takes them off this test only.

Missions that need an account

Tick Needs a signed-in account for tasks such as checking past orders: the testers start that mission signed in. See Signed-in tests and saved logins.

Missions for AI agents

Tick AI agents try this one too, and the AI agents switched on under Who tests also run this errand, in a run of their own. Only missions with this ticked are given to agents. See AI agents.

What's next