Fix with Claude


A run failed. Was it the test (a selector, a wait, some data) or a real problem on the shop? Fix with Claude hands the run over to Claude, which reads the details, decides, and fixes the suite only when the test is at fault.

The "Fix with Claude" menu on a failing run

#Where to find it

Fix with Claude sits on the result page of a run, between Re-run and Edit suite. It shows when the run is finished, has at least one failing test, and its suite still exists.

The main part of the button repeats your last choice (Claude Code the first time). The arrow next to it opens the menu.

#Choose what Claude should do

Under Intent:

  • Fix the suite (default): Claude reads the failure, decides whether the test or the shop is at fault, and fixes the suite only in the first case. Then it imports the fixed suite, runs it again and reads the new result.
  • Understand the failure: Claude explains what happened and changes nothing.

If the problem is on the shop, Claude does not touch the suite: it describes the problem and how to reproduce it. It never makes a test pass by removing an assertion that catches a real problem.

#Choose where it goes

Under Hand off to an AI agent:

  • Claude Code or Claude Cowork: Claude opens with the prompt ready ("Claude is opening with the prompt.").
  • Copy to clipboard: paste the prompt into the Claude app of your choice.

The app remembers your intent and destination on this computer.

#What the prompt contains

The prompt is short. It names the run, the suite, the project, the shop and its PrestaShop version, and tells Claude to use the PrestaFlow MCP server to read the result (errors, JavaScript errors, screenshot and video frames), the code of the suite and the library catalog.

It also carries a summary of the failing tests, so it stays useful even if the MCP server is not connected. It never contains a password or a token.

#Connect the assistant first

Without the MCP server, Claude only gets the summary and cannot read the run, fix the suite or run it again. The menu says "No assistant connected yet." with a Connect an assistant link: see AI assistant (MCP).

Recording the run as video helps Claude a lot: it reads the frames around the failure. See Record a run as video.