# QA a Nuxt App in a Real Browser

An agent builds nuxt/movies, then browses, searches and opens a movie in a real browser, and reports two low-severity defects with 14 screenshots.

[Run this on Rush](https://cloud.getrush.ai/run/qa-in-browser/nuxt/). Opens the console with this prompt ready to send, in a Project that has your repository.

## What the agent does

The agent clones nuxt/movies, installs pnpm 11.1.2, and runs `pnpm build`, `pnpm lint`, `pnpm typecheck` and `pnpm vitest run` before touching the app. It serves the production build with `node .output/server/index.mjs`, with movie data from the repository's default `movies-proxy.vercel.app`.

In the browser it opens `/` and `/movie`, tries `/movie/999999999`, `/movie/abc` and `/nope` for the 404 page, searches `batman` (239 items), a nonsense query and `<b>x</b>`, opens The Dark Knight at `/movie/155` with its Videos and Photos tabs, and clicks Watch Trailer. It writes `qa-report.md` with a step table and a screenshot per step.

## Start it with one API call

`POST https://api.phoenix.so/o/{org}/sessions`

```json
{
  "agent": "claude",
  "input": "Start this app in the sandbox and test it in the browser as a QA tester: browse, search, open a movie and play a trailer. For each flow record the steps, a screenshot per step and the result. Write qa-report.md with every defect, its steps to reproduce and its severity. Change no code.",
  "resources": [
    {
      "url": "https://github.com/your-org/your-app"
    }
  ]
}
```

1. **Get an API key.** In the console, open Settings, then API keys, and create a key for your org. Send it in the Authorization header as a Bearer token.
2. **Send the request.** POST the body in request.json to https://api.phoenix.so/o/{org}/sessions, with your repository as the resources URL. The run starts in its own cloud sandbox.
3. **Read what came back.** Follow the run on its live stream or wait for the run.completed webhook, then read the result and its trajectory.

## What comes back

Tried on nuxt/movies at 4d05739: no code change, and `qa-report.md` covers 4 flows with 14 screenshots and 3 entries: D1, playback blocked in the sandbox by YouTube's "Sign in to confirm you're not a bot"; D2 (low), a zero-result search that shows only "0 items"; D3 (low), a trailer modal that opens with `autoplay=0`. Build, lint, typecheck and vitest all exited 0, vitest with `Tests  80 passed | 1 skipped (81)`. It ran Node v22.23.4; the repository asks for ^24.

For the reviewer: trailer playback is unverified and needs a re-test from a normal network, and D3 may be intentional. The Playwright end-to-end suite, TV trailers, the language selector, mobile layout and keyboard use of the modal were not covered.

## Run it on every release check by a teammate

A teammate starts this prompt from the console in the Project before a release. Others in the org read the run as it works, and its starter or an org admin can take control of its browser on the five-minute lease to look at a step the report marks as blocked.

## Why run it on Rush?

The run told an environment failure apart from an app defect. The trailer's embed URL was valid and the player loaded; YouTube refused the sandbox's address, so the report files that as D1 rather than a bug, and names the real issue on the same screen: with `autoplay=0`, "the user has to click play again." It also confirmed search renders `<b>x</b>` as literal text.

## Frequently asked questions

### Did the agent change the app?

No. `git diff --stat` printed nothing and `git status --short` was empty. The report and screenshots are session artifacts, outside the repository.

### What does D2 look like?

Visit `/search?s=zzqxjkvv`: the page shows the heading "Search result for: zzqxjkvv", "0 items" and a blank area below, with no message that nothing matched.

## More Nuxt jobs

- [Redesign a Page in a Nuxt App with Your Team](https://getrush.ai/run/redesign-page/nuxt/)
- [Review Accessibility on Every Nuxt Pull Request](https://getrush.ai/run/review-accessibility/nuxt/)
- [Review Pull Requests Automatically in a Nuxt App](https://getrush.ai/run/review-pull-requests/nuxt/)

## The same job on other stacks

- [QA a React App in a Real Browser](https://getrush.ai/run/qa-in-browser/react/)
- [QA a Next.js App in a Real Browser](https://getrush.ai/run/qa-in-browser/nextjs/)

## More jobs like this: Steer a run as a team

- [Redesign a Page in a Next.js App with Your Team](https://getrush.ai/run/redesign-page/nextjs/)

## Keep reading

- [How a Rush run works on your repository, from request to pull request](https://getrush.ai/cloud/)
- [Compare cloud agents, agent sandboxes and AI code review](https://getrush.ai/compare/)
- [Rush pricing: Free, Pro and Max](https://getrush.ai/pricing/)
