See where people get stuck on what you just shipped.

Say who your users are, what they are trying to do, and how you would know they did it, in one small file next to your code. One command puts real people in front of your site, records every attempt, and hands back the problems they hit, ranked, with the moment to watch, the words they said, and what to change.

Open source. Nothing to sign up for. Runs on your preview or your live site.

npx ui-tests report k2m9Example run
● Problems found: 4, seen across all 5 people.
  Reached the goal: 4 of 5.

▏1  1 of 5  blocked   Add looked switched off; pressed I couldn't do this
 2  4 of 5  slowed    Looked for Invite in the Share menu, found only links
 3  2 of 5  confused  Pressed Add, saw nothing change, pressed it again
 4  2 of 5  confused  Typed Sam's email into the board search

Each line opens to the moment to watch, the person's words, and the smallest change that would fix it.

How it works.

The check

One line in the merge box, next to your other checks, from npx ui-tests check in your preview job. It waits while people take part and turns neutral when the run closes, never red or green: there is no pass to give. One run per pull request: a push while people are still in starts nothing new, and the line names the commit they saw.

All checks have passed· 1 neutral and 2 successful checksExample run
ui-tests · 4 problems found · 4 of 5 people reached the goalDetails
preview · Deployment readyDetails
tests · 212 passedDetails

Its details, on GitHub

Press Details and GitHub shows the check's own page: the sentence, the three problems to fix first with where they are and a link to the moment, and a link to the report. One screen, no pictures, no scrolling.

Checksui-testspreviewtestsExample run

4 problems found · 4 of 5 people reached the goal

5 people tried invite a colleague on this preview. 4 of 5 reached the goal. This check never fails your build. It reports problems, or that none were seen this time.

#ProblemWherePeopleImpactMoment
1The Add button looked switched off; Person 2 pressed I couldn't do this/settings/members · button "Add"1 of 5BlockedPerson 2 · 00:49
2Looked for Invite in the Share menu and found only link options/board · menu "Share"4 of 5SlowedPerson 1 · 00:04
3Pressed Add, saw nothing change, pressed it again; Sam got two invitations/settings/members · button "Add"2 of 5ConfusedPerson 3 · 00:58

Blocked kept them from the goal · Slowed cost them time · Confused did something that had no effect

5 people · paid panel (Prolific, CloudResearch Connect) · weekboard-git-invite-flow.vercel.app · 80035db · 14 Oct 2026

The replay

Every problem in the report comes with the moment it happened: the person's minute as a rail, the moments that got in the way as stops, and at each stop the clip, what they did, what they said afterwards, and the smallest change that would have fixed it.

00:58 → 01:04

Person 3 · 00:58 · Confused

Pressed Add, saw nothing change, pressed it again.

I wasn't sure the first Add did anything, so I pressed it again.

Smallest changeOn press, change the button to "Invited sam@acme.example" and disable it.

  1. 00:03Slowed
  2. 00:23Confused
  3. 00:58Confused

00:00 Started on /board01:03 Pressed Done · reached the goal, with two invitations

What you write, what they see.

The whole test, then every screen it produces, in the order a person meets them, and what comes back from each. The path you expect and the check you wrote stay on your side, so nothing you wrote can lead them.

$ npm install -D ui-testsAdds the package.
$ npx ui-tests initWrites a study file and a config, and prints the script tag for your app.
$ npx ui-testsRuns the whole study on you, in your browser: the consent, the scenario card, your page with the bar, and your own trace. Recruits nobody, costs nothing.
$ npx ui-tests recruitRuns it with real people: your link, your visitors or a paid panel. Shows the plan and the price, and asks first.
$ npx ui-tests checkIn the job that deploys your preview: the same run, with the cap in your config as the yes, and a check on the pull request.
ui-tests/invite.ui.test.ts30 lines
  1. import { study, setup, task, outcome, expect } from 'ui-tests'
  2. study('invite flow', {
  3. users: {
  4. are: 'people who plan work with a team in a shared tool',
  5. did: 'used a shared tool to plan work with a team',
  6. within: '3 months',
  7. uses: ['Trello', 'Asana', 'Notion', 'Linear'],
  8. not: ['I have used Weekboard'],
  9. },
  10. purpose: 'plan the week together without emailing screenshots around',
  11. sample: { affecting: 1 / 3, confidence: 0.85 }, // five people
  12. record: 'video',
  13. firstLook: { page: '/' }, // the start comes from setup, behind a sign-in: tour the public home page
  14. }, () => {
  15. // Each attempt gets its own signed-in board. A .example address is never delivered.
  16. setup(async ({ request }) => {
  17. const board = await (await request.post('/api/test/boards', { data: { cards: 'sample-week' } })).json()
  18. return { start: board.signInUrl, board: board.id, colleague: 'Sam', email: 'sam@acme.example' }
  19. })
  20. task('invite a colleague', {
  21. path: ['/board', '/settings/members'],
  22. timeLimit: '3 min',
  23. }, () => {
  24. outcome(async ({ request, setup }) => {
  25. const invitations = await (await request.get(`/api/test/boards/${setup.board}/invitations`)).json()
  26. expect(invitations.map(i => i.email)).toContain(setup.email)
  27. })
  28. })
  29. })

2Who gets in, and how many · the sample

Three questions, one per screen, before consent; press Next to see them all. Each comes from users: did and within become a recency question with bands on both sides of the window, uses a list among other planning tools, and the exclusions sit among other statements about work, so nobody can tell what disqualifies. The other tools and statements are drafted for this study by your model into a snapshot file you review, written by npx ui-tests lint -u; nothing generic stands in. The options come in a different order for each person, and nothing here mentions the purpose.

The sample line sets how many, for the whole study: one in three at 85% confidence means five people, enough to see any problem that hits one person in three with an 87% chance. Leave it out and that is the default. Groups that behave differently are sampled apart, role: { Developer: 3, Designer: 2 }, and reported per group. From the paid panel five people cost from $60, under a cap you set before it starts. The paid panel and your visitors are the only things you pay for; your own link costs nothing.

A few questions first · 1 of 3

When did you last use a shared tool to plan work with a team?

  • In the past week
  • Between a week and a month ago
  • Between a month and 3 months ago
  • Between 3 months and a year ago
  • More than a year ago
  • Never
Pick one.
1 of 3

Comes backscreened 20 · per person: their group, recency band, tools and what left them out · the option order each saw

3First look · on for public pages

A look around the live page, for as long as they like: they can scroll, but nothing is clickable yet. Then one open question: what it is, whose it is, what they can do there and what it is for. It is the page the task starts on when that page is public, and off when the start is behind a sign-in, as Weekboard's board is; firstLook: { page } names the public page where the purpose lives, here the home page. Each answer is coded part by part against what the page says, its first heading unless you write says, never against the purpose, which the person never sees. Without a model the answers are listed for you to read.

You've had a look at the page

What do you make of that page? Say what it is, whose it is, what you can do there, and what it's for.

In your own words. There is no right answer.
Talk instead

Comes backsaid what it is: 5 of 5 · whose it is: 4 of 5 · what you can do there: 3 of 5 · what it's for: 4 of 5 · with their words

4Scenario card · from the task, never the path

The situation from users.are and purpose, the action from the task's name, the name and email from what setup returns. Lint rejects any word that appears on a control of your site, so the card cannot hint where to click. Edit it in the trace and pin it with scenario.

Task 1 of 1

You plan the week on this board and want your colleague Sam to plan it with you. Invite Sam to the board. Sam's email is sam@acme.example.

When you think you've finished, press Done. If you get stuck, press I couldn't do this.

Comes backthe exact card text, kept with the run

5Your page, with the bar, then the check · two controls, one check

One small pill in a corner, draggable, that hides while they type in your page. The red dot and the time come from record: 'video', with a pause; there is no microphone during the task. The summary is the goal's name; press it to reread the card. Done asks "Finished this task?" in place. No countdown: timeLimit is silent, and the person may ask for more time once. The path is only what you expect them to take; it sets nothing else. The pill takes your font, inverts your page's colours and uses the one accent you set, so it is never mistaken for your site and never carries ours.

When they press Done, the outcome asks your app what happened, whatever page they ended on: here, whether this board has an invitation for Sam. What they said does not count; what your app holds does. Pressing Add twice still invited Sam; the second invitation comes back as a problem, not as a failure. A check that cannot decide returns "couldn't tell" and is never rounded either way.

0:41

Comes backtime on this goal · every moment · their path against yours · how it ended · reached the goal: yes / no / couldn't tell, with the diff

6After the task · not from your file

Five screens, one question each; press Next to see them all. The first two come after every attempt, including the ones that ended with I couldn't do this: how easy it was, with nothing preselected, and, at 4 or below, what made it difficult. The last three come once, after all goals: would it help them, is it easy to use, and anything they want to say, typed or spoken. Confidence is asked only when a goal has no check, so Weekboard's people never see it.

After the task · 1 of 2

Overall, how difficult or easy did you find this task?

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
Very difficultVery easy
Press a number key, or tap.
1 of 5

Comes backease 3 of 7 · what made it difficult, in their words · would it help them 4 of 5 · easy to use 2 of 5 · words and audio

Where people who represent users come from.

Friends are kind and coworkers know too much. Three ways to reach people who are neither, and what each one can and cannot tell you. Open a row to see how it works and what the person sees.

What a run is worth.

Five people cost about $60, about 39 minutes of a US developer's time. If one problem they show you would have taken longer than that to find from bug reports, reproduce and fix after release, the run has paid for itself.

The arithmetic: $ ÷ h = $65 an hour in wages. Wages are % of what employers pay, so about $93 an hour. $ ÷ $93 = 0.65 h, about 39 minutes.

BLS, software developers, May 2025BLS, employer costs, March 2026

Agents use some interfaces, too.

npx ui-tests --actor agent

Your API, your MCP server and your CLI have a second kind of user: an agent that reads text, not pixels. Point the same file at that surface and five trials show whether it gets through. It is a capability test, not a usability one, and it never counts with people.

  • Your API target: { http }

    Endpoint names, schemas and error bodies are its whole page. A 400 with no reason is a dead end.

  • Your MCP server target: { mcp }

    Tool names and their descriptions are the only labels it reads. If two tools sound alike, it picks one.

  • Your CLI target: { cli }

    Flags, help text and exit codes are what it sees. A --help that lies costs it the run.

Your server, one command.

The consent, the questions, the collector and the report run on a ui-tests server you start for as long as a study is open: on your laptop, a machine you rent or a free tier. Nobody else runs it, and the recordings stay on your box. npx ui-tests host, one command that puts it in an account you own, is not shipped yet.

The command

On any machine with Node 24 or later, with UI_TESTS_PUBLIC_URL set to the address people reach it at. It prints that address and the tag that points there. The Docker image, to be published as ghcr.io/miguel-perez/ui-tests, is built from the repository and runs the same thing.

TerminalExample
$ npx ui-tests serve
ui-tests server: https://tests.weekboard.example
<script data-ui-tests="https://tests.weekboard.example">…</script>

The line

One inline script tag in your HTML layout, whatever your app is built with. It does nothing until a person is in an attempt: no request, no change to the page.

index.htmlor your layout
<script data-ui-tests="https://tests.weekboard.example">(function(){try{var d=document,u=d.currentScript&&d.currentScript.getAttribute('data-ui-tests')||'';if(!/^https?:\/\/[^/?#\s]+\/?$/i.test(u))return;u=new URL(u).origin;var l=location,m=/(^#|&)ui-tests=([^&]*)/.exec(l.hash);if(m){var h=l.hash.replace(m[0],m[1]=='#'?'#':'').replace('#&','#');history.replaceState(history.state,'',l.href.split('#')[0]+(h=='#'?'':h))}else{var j=JSON.parse(localStorage.getItem('ui-tests-attempt'));if(!j||j.server!==u||!(j.expiresAt>Date.now()))return}var s=d.createElement('script');s.type='module';s.src=u+'/ui-tests.js'+(m?'#'+m[2]:'');d.head.appendChild(s)}catch(e){}})()</script>

Same test, same report, on a box you own.