Runs & results


A run executes a suite against your shop and stores the result. This page covers how to launch a run, how to read its result, and how to keep your history under control.

Runs drive Google Chrome, so it must be installed. Runs only happen while the app is open.

#Launch a run

Start a run from one of these places:

  • Run on a suite card or on the suite page.
  • Run (N combinations) in the visual editor of a visual suite.
  • Re-run on the result page of a previous run.
  • Run with video on the suite page, to record every test (see "Record a run as video" below).

The app shows the toast "Execution started".

#The suite page

The suite page shows the state of the suite at a glance. The indicators are:

  • Latest result
  • Runs
  • Success rate
  • Failures (runs with a failing test)
  • Average time

Visual suites also show Combinations and Checkpoints.

Below the indicators, a table lists every run of the suite.

Column Meaning
Status The verdict of the run.
Date When the run started.
Execution time How long the run took.
Passes Number of passed tests.
Failures Number of failed tests.
Skips Number of skipped tests.
Completion Passed tests out of the total (for example 8/10), as a bar. While the run is in progress, it shows its progress.

You can hide columns you do not need. Rows of runs in progress refresh by themselves.

#The result page

Click a run to open its result.

#Verdict and stats

The verdict is one of Passed, Failed, Running, Interrupted or Execution error. The page also shows the PrestaShop version of the shop ("PrestaShop x.y.z"). A warning appears when the shop is in debug mode.

The stats are Tests, Passed, Failed, Duration and Skipped. Below them, each test has its own details, with a screenshot for failures.

#Actions

  • Download results.json saves the raw result of the run.
  • Re-run launches the suite again.
  • Delete this run removes the run, its screenshots and its images. The app asks "Permanently delete this run, its screenshots and images?". You cannot delete a run while it is running, or while its cloud sync is pending.

#Cloud sync status

If the project is linked to the cloud, the result shows a pill: synced, not synced, uploading or sync failed. Use Sync now to upload the run, and Open on prestaflow.io to see it online. See Cloud.

#Record a run as video

When a test fails and the screenshot is not enough, record the run as a video.

The video player of a run, paused on the failing step

  • Run with video, on the page of a suite, records every test of the run. This full debug mode is slower and takes more disk space. Visual suites do not offer it.
  • Replay with video, under a failed test of a result, runs that test again with recording on.

The result of a recorded run shows "Run recorded as video", with the number of recorded tests and the size of the video.

#Watch a test

Click Watch video under a test. The player has Play, Pause, Previous frame and Next frame. Markers show the start and the end of the test, and the moment it failed. "Recording stopped (limit reached)" means the test reached the recording limit (1,500 frames) before its end: the rest of the test is not in the video.

#Export as MP4

Export as MP4 builds one video file with all the recorded tests back to back. A banner shows which test is playing ("Test 2/4 · …") and the video ends on a summary of the run. The export happens on your computer; while it runs, the button shows its progress.

If your computer cannot encode H.264 video, the app says "This computer cannot encode H.264 video: export unavailable."

#Delete a video

Delete video removes the recording and frees its disk space. The run and its result stay.

#Keep your history tidy

Runs and their screenshots take disk space. Set a retention period in Settings › Runs, in the Run retention section.

  • Keep runs (days) accepts a value from 7 to 3650. Leave it empty to keep everything.
  • The last 5 runs of each suite are always kept. So are runs in progress and runs waiting to sync to the cloud.
  • The app purges old runs automatically every hour, while it is open.
  • The preview tells you what the next pass will do: "Next pass: N runs and X of files will be deleted."

Click Purge now to run a pass immediately.

Click Delete orphan runs to remove the runs whose suite no longer exists.

#Settings that affect runs

These live on the Settings page, split into tabs: Browser call timeout is in the Runs tab, Language and Notifications are in the General tab. One Save button saves every tab.

#Browser call timeout

In Settings › Runs, Browser section, "Browser call timeout (s)" accepts a value from 5 to 120. If you leave it empty, the app uses 5 seconds.

#Language

In Settings › General, the Language section switches the app between English and French.

#Notifications

The app notifies you with the bell in the header and with system notifications. It notifies you when:

  • a run starts, finishes or fails,
  • "Cloud sync failed",
  • "Git sync: files skipped",
  • "Git sync: failed",
  • "Import completed",
  • a "System error" occurs.

To turn notifications off, go to Settings › General, Notifications section, and clear "Enable notifications".