Workflow

Test every preview deployment with simulated visitors

Every pull request already gets a live preview. Almost nobody uses it before merging. Here is how to have visitors use it for you, and leave what they hit on the pull request.

5 visitors try to .
First test free with an accountRun it from your coding agent

How do I test preview deployments automatically?

Trigger a check when the preview is ready (GitHub sends a deployment_status event for Vercel, Netlify and Cloudflare Pages), run it against the preview URL, and post the result on the pull request. The Mimiq preview check GitHub Action does exactly that: simulated visitors use the preview like users and one comment on the pull request says what broke, what the browser recorded, and where they got stuck.

The preview nobody opens

Reviewers read the diff, glance at the preview link, and merge. The preview is the only place the change runs with real hosting and real configuration before users see it, and it goes unused because using it properly takes time nobody has on every pull request.

  • Runs on deployment_status, when the preview is live.
  • Works with Vercel, Netlify and Cloudflare Pages previews.
  • One pull request comment, updated on every push.
  • Protected previews: a Vercel bypass secret or basic auth.
  • Optional: fail the check when visitors give up.

How it works

  1. 01

    Create a key

    Free account, then Settings, "Create a key". Add it to the repository as the secret MIMIQ_API_KEY.

  2. 02

    Add the workflow

    One file, shown below. Set the goal to the task a user would try on most changes.

  3. 03

    Open a pull request

    When the preview is live, the visitors run and the comment appears. Pushes update the same comment.

The workflow

The Action is open source at github.com/victorgulchenko/mimiq-preview-check. This is the whole setup:

on: deployment_status
permissions:
  pull-requests: write
jobs:
  mimiq:
    if: github.event.deployment_status.state == 'success'
    runs-on: ubuntu-latest
    steps:
      - uses: victorgulchenko/mimiq-preview-check@v1
        with:
          api-key: ${{ secrets.MIMIQ_API_KEY }}
          goal: Sign up and reach the dashboard
          people: 3

Protected previews

Vercel Deployment Protection blocks outside browsers. Pass your "Protection Bypass for Automation" secret as vercel-bypass-secret, or basic-auth-username and basic-auth-password for a password prompt, or login-email and login-password for a test account. They are sent for that run only and never appear in results.

Other CI

Anything that can send an HTTP request can run it: the MCP endpoint takes plain JSON-RPC.

curl -s https://mcp.mimiqai.com/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Authorization: Bearer $MIMIQ_API_KEY" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"mimiq.test_flow","arguments":{"url":"'"$PREVIEW_URL"'","goal":"Sign up and start using it","count":3}}}'

What you get with Mimiq

  1. 01

    Run it by hand, or on every pull request

    Paste a link and a task in the app and watch the visitors work. Or run them on every preview deploy: the GitHub Action comments on the pull request, any other CI can call the MCP endpoint, and your coding agent can run it too.

  2. 02

    Bugs and usability problems in one report

    The browser records errors and failed or slow requests on the step they happened. The visitors say where the wording or the steps confused them, and where they left.

  3. 03

    Visitors that behave like your audience

    Each visitor is a different profile with a reason to be there, matched to who the page is for, described by you, or built from your own customers.

  4. 04

    A prompt to fix each problem

    Every problem comes with a fix to paste into Cursor, Claude Code, Lovable or any coding agent, and one prompt hands over the top problems at once. Then send the same visitors through again.

  5. 05

    Follow every visitor

    See each visitor's whole path, step by step with screenshots, and what it was thinking at every step. Ask any visitor a question.

The browser records relevant JavaScript errors and failed or slow app requests encountered during the run, attached to the step where they occurred. The visitors are simulated: they find problems, they do not predict how many real people will convert.

$0for your first test, with a free account (Google or email, no card). It includes 50 credits, enough for 10 visitors. After that a visitor uses 5 credits, and packs start at $9 for 120 credits.
See a sample report

Questions

Will it block merges?

Only if you want it to. fail-on defaults to never; set it to gave-up or stuck to fail the check.

How long does it add?

About 5 minutes for 3 visitors, running in parallel with your other checks.

What does it cost per pull request?

5 credits a visitor: 3 visitors use 15. The Builder plan's 500 credits a month cover about 33 runs of 3.

Keep reading

Send visitors and see what breaks first.

Your first test is free: sign in with Google or email and it starts right away. Last checked 2026-11-01.

5 visitors try to .