Skip to content

A result in a run

A run’s page lists every result of the run as a row. Click a row and its panel opens beside the list: where the test ran, what happened, the screenshots it kept and its other files. You read one failure to its last line, and step to the next, without leaving the run.

Three results on a run's page. The first, delivery slot can be changed, shows the error's first line, the steps Checkout › Pick a slot and e2e/shop.spec.ts:54:24; on the right marks for one screenshot, one JSON file, one log and three more files, then failed and not as expected. Under it address book keeps a second address and wishlist survives a reload, each passed, as expected. Three results on a run's page. The first, delivery slot can be changed, shows the error's first line, the steps Checkout › Pick a slot and e2e/shop.spec.ts:54:24; on the right marks for one screenshot, one JSON file, one log and three more files, then failed and not as expected. Under it address book keeps a second address and wishlist survives a reload, each passed, as expected.
A failed result's row, and two passed ones: a mark for each kind of file the result kept, then its status and how it went.

A row is the case’s name and, for a failed automated test, the error’s first line, the declared steps down to the one that failed, and the line in the test — Failed automated results says where each comes from. At its end stand a mark for each kind of file the result kept (below), its status — with the Muted mark after it when its case was muted (Result statuses) — and how it went: as expected, not as expected, flaky or skipped.

Click a row — or Tab to it and press Enter or Space — and its panel opens, with the focus on the case’s name at its top. ✕, Esc, a click on the open row, or the browser’s Back closes it, and the focus goes back to the row.

Where the panel stands depends on the window:

WindowThe panel
Wider than 1024 pxbeside the list, 480 px wide until you change it
1024 px and narrowera 400 px sheet over the list, which is dimmed and out of reach until the panel closes; a click on what shows of the list closes it
480 px and narrower — a phonethe whole screen

The head of the panel says which result this is, ‹ 1 of 3 ›, and the arrows beside the count step to the previous and the next one. ↑ and ↓ do the same from anywhere on the page — except in a field, in a window open over the panel, or with a modifier key held — and they go round: past the last result is the first, and the other way. While the error’s text has the focus, ↑ and ↓ scroll it instead.

The address is the panel. Opening a result adds #result-<id> to the run’s address, stepping to another result changes it, and closing takes it off. <id> is the result’s own: the id in GET /v1/runs/{id}/results.

  • Send it. Copy the address, and whoever opens it lands on the run with that result’s panel open, its row brought to the middle of the list and flashing once. An id the run does not hold is no error: the run opens with no panel.
  • Back and Forward follow it. One Back closes the panel, however far ↑ ↓ went, and Forward opens it again. On a link, the first Back closes the panel and the next one leaves the run.
  • A case’s history links here. Each line of a case’s Result history leads to its result on the run’s page, panel open.

Wider than 1024 px the panel has a handle on its left edge. Drag it to make the panel wider or narrower. With the keyboard, Tab to it — it reads Panel width — and press ← to widen or → to narrow the panel, 16 px at a time; Home makes it the narrowest and End the widest. A double click brings back the 480 px the panel started with.

The panel is never narrower than 400 px, and never wider than leaves the list 400 px beside it. A list narrower than 560 px puts each row’s marks and status under its name, as on a phone.

The browser remembers the width you chose — this browser’s, not your account’s — and a window made wider again gets the wider panel back. Up to 1024 px there is no handle: the sheet is 400 px, and on a phone the panel is the whole screen.

Top to bottom — a section with nothing to say is not there.

The panel of delivery slot can be changed. At the top ‹ 1 of 3 › and a close button, then the case's name, failed, not as expected · 6.1 s, then Open the case, Tested on version 1 and Mute…, and Copy prompt with the note that the prompt carries the error text and the page snapshot and may hold real data. Where it ran: Environment ci, Labels smoke and checkout, Branch main, Commit 3f9c2ab, Runner playwright, Started with its date and time, Launched by Alex Morgan, and a link to the CI run. What happened: the error's first line, Checkout › Pick a slot, e2e/shop.spec.ts:54:24, and the whole error text in a box. The panel of delivery slot can be changed. At the top ‹ 1 of 3 › and a close button, then the case's name, failed, not as expected · 6.1 s, then Open the case, Tested on version 1 and Mute…, and Copy prompt with the note that the prompt carries the error text and the page snapshot and may hold real data. Where it ran: Environment ci, Labels smoke and checkout, Branch main, Commit 3f9c2ab, Runner playwright, Started with its date and time, Launched by Alex Morgan, and a link to the CI run. What happened: the error's first line, Checkout › Pick a slot, e2e/shop.spec.ts:54:24, and the whole error text in a box.
The top of a failed result's panel: the head, where it ran, and what happened.
  • The head. ‹ 1 of 3 › and ✕; the case’s name; the status, how it went and how long it took; Open the case, which leads to the case’s page; Tested on version N when the result holds the case’s version, which opens the case as it was when the result was written; and, for anyone but a reader, Mute… or Unmute, which changes the case’s mute (A result). An automated result that did not pass and has an error text has Copy prompt under them (below).
  • Where it ran. A key over its value, two to a row — three once the panel is wide: Environment, Labels, Branch, Commit by its first seven characters, Runner, Started — the day and the minute the run began, on your browser’s clock — and Launched by, the member who launched the run. Each is there only when the run holds the value, and CI run ↗ ends the section when the run has a CI run to link. What sends the branch, the commit and the runner: The commit and the branch.
  • What happened. For a failed automated result, what the runner reported: the error’s first line, the declared steps joined by ›, the line in the test, and the whole text of the attempt’s errors in a box of 20 lines at most. A longer text scrolls inside the box, which Tab reaches. What each of these is, and what the text keeps out: Failed automated results. For a manual result it is what the person marked — each step’s mark and the comment as written — and an automated result that passed has none.
  • Observability trace — the link to the result’s trace in your own observability tool, when the result came with one: below.
  • Technical findings — for a failed or broken automated result, what the test’s browser reported while it ran: Technical findings.
  • Screenshots · N — the pictures the result kept: below.
  • Attachments · N — its other files: below.

Copy prompt puts one failure in the clipboard as a brief for an AI assistant, ready to paste. It is in the head of the panel of an automated result that did not pass and has an error text, for everyone who can open the run, a reader included. A manual result, a passed one, and one without a text have none. The prompt is plain text, in this order:

Test: delivery slot can be changed
Status: failed
Location: e2e/shop.spec.ts:54:24
Run: https://beta.plune.ai/…/runs/…#result-…
Error context:
…the error text, as the result keeps it…
  • Location — the line in the test, when the runner reported one.
  • Run — the address of this result on the run’s page, so the assistant’s answer can lead back to it.
  • Error context — the whole text of the result’s errors, as Plune keeps it: cleaned of what the text keeps out.

The prompt stays under 262,144 characters. A longer text is cut at its end, and a last line says how many characters were left out: [truncated: N characters omitted]. When the reporter had already cut the text before sending it, a line after it says so too: [truncated by the reporter: N characters omitted].

Under the button a note stands: The prompt carries the error text and the page snapshot as the runner saved them. It may hold real data - names, e-mails, tokens - so read it before you paste it into an assistant. The button reads Copied for a moment once the copy went through.

The browser lets a page copy only on a secure address. Over plain http the button is greyed and says Copying works only on a secure (https) address. Open Plune over https to use this button. When the browser refuses the copy, the panel says The browser refused to copy. Allow clipboard access and try again.

A result that kept screenshots says how many beside its status — a picture mark and the number — and its panel shows them under What happened: the pictures one under another at the panel’s width, each under the name the test gave it.

The panel scrolled to Screenshots · 3: three pictures, one under another at the panel's width, named 01-cart, 02-payment and screenshot. The panel scrolled to Screenshots · 3: three pictures, one under another at the panel's width, named 01-cart, 02-payment and screenshot.
Three screenshots in the panel, each under its name.

The pictures load when the panel opens; nothing is asked for before. A picture that has not come is a quiet tile you cannot open yet, and one that failed says Could not load — click it to try again. Click a picture to see it large in a window over the panel: its name and 2 of 3 at the top, ✕ in the corner, the picture, and ← → to move · Esc to close under it. ← and → go round the result’s pictures, and past the last is the first; Esc, ✕ or a click on the dimmed page beside the window closes it, with the focus back on the picture you opened.

The screenshot 02-payment open large over the run page: 02-payment · 2 of 3 and a close button on top, the picture under them, and ← → to move · Esc to close beneath it. The screenshot 02-payment open large over the run page: 02-payment · 2 of 3 and a close button on top, the picture under them, and ← → to move · Esc to close beneath it.

On a phone the window is the whole screen, without the key hint: swipe left for the next picture and right for the previous one, and ✕ closes it.

The same screenshot on a phone: the whole screen, 02-payment · 2 of 3 and a close button at its top, the picture across the screen's width. The same screenshot on a phone: the whole screen, 02-payment · 2 of 3 and a close button at its top, the picture across the screen's width.

The same pictures are on the case’s page. Under Result history, a result that kept screenshots has a button after its line — the picture mark, the number and a chevron; the line itself still opens the result on its run’s page. The button shows the pictures under the line, each under its name, and hides them again. Several lines can be open at once. The pictures load when a line is opened, a picture that failed says Could not load — click it to try again — and a picture opens the window above, going round that result’s pictures.

A result without pictures has no button, and neither has one whose pictures the project’s 1 GiB let go: the result stays, its pictures do not. GET /v1/test-cases/{id}/results lists each result’s files, as a run’s results do, so the whole history comes in one request.

  • What a result keeps: PNG, JPEG or WebP, up to 2 MiB each and 20 a result, sent while its run is open. A project keeps up to 1 GiB of pictures and text files together; past that, the oldest go first — the result stays, only its file goes.
  • For how long: as long as the run. Deleting the run puts them in the Bin with it, restoring it brings them back, and they are gone with it after 30 days.
  • Who sees them: the project’s members, as they see the result. A picture is not cleaned the way the text is (what the text keeps out), so do not keep one of a screen that shows a password, a token or a customer’s data.

To send them from your suite: Screenshots — @plune-ai/playwright 0.3.0, or plune run import in @plune-ai/cli 0.15.0. Any other client sends one with POST /v1/results/{id}/files?name=…, the picture as the request body.

A result can keep more than its screenshots: what the runner kept as files for a failed attempt — Playwright’s trace and video, a screenshot comparison’s -diff — and what the test attached itself, such as an API’s answer or a log. Where a file lies decides what the panel does with it:

  • In Plune — pictures, and JSON and text files once the client has sent them. The panel shows a picture under Screenshots and opens a text in a window.
  • In the CI run — everything else. Plune keeps only the name; the file is among the artifacts of the CI job that ran the tests, for as long as the CI keeps them (The CI run).

Beside a result’s status its row carries a mark for each kind of file it kept: an icon and how many, for three kinds at most, and then +N for the files of the others. Hover a mark for its words — 1 screenshot, 1 JSON file, 1 log, 3 more: 1 text file, 1 video, 1 trace — which are also what a screen reader says. A file’s kind comes from its type or its name, and the first row of this table that fits wins: a console.log sent as text/plain is a log, and Playwright’s trace is a trace before it is an archive.

KindTold by
Imagean image/… type
JSONapplication/json, or a name ending .json
Loga name ending .log, or starting stdout or stderr
Texttext/plain, or a name ending .txt or .md
Videoa video/… type, or a name ending .webm or .mp4
Tracethe name trace, or a name that starts trace and ends .zip
Archiveapplication/zip, or a name ending .zip
Fileanything else

A kind says what a file looks like, not where it lies: a Markdown file is a Text to the panel and stays in the CI run, because Plune keeps a text only as application/json or text/plain.

Under Attachments · N the panel lists the result’s other files, a row each:

Attachments · 5. network.json (JSON), console.log (Log) and order.txt (Text), each with Open at the end of its row; video.webm (Video) and trace (Trace), each with in the CI run; and under the list the note that CI keeps these for a limited time, and only people it lets see this repository's artifacts can open them. Attachments · 5. network.json (JSON), console.log (Log) and order.txt (Text), each with Open at the end of its row; video.webm (Video) and trace (Trace), each with in the CI run; and under the list the note that CI keeps these for a limited time, and only people it lets see this repository's artifacts can open them.
Three files Plune keeps say Open; the two it does not say in the CI run.

A row is the kind’s icon, the file’s name, the kind in a word — for a file of no kind above, its type — and at its end:

  • Open — Plune keeps a copy. A JSON, a log or a text opens in a window; a trace in your bucket opens in the trace window.
  • in the CI run ↗ — the file stayed in CI, and the result carries the CI run to link. The link leads to the CI run, not to the file.
  • nothing — the file stayed where the tests ran, and no CI run is named: a report from a developer’s machine.

When any file is left to the CI, one note stands under the list: CI keeps these for a limited time, and only people it lets see this repository’s artifacts can open them — or, with no CI run to link, Only their names came with the result: the files stayed on the machine that ran the tests. The names stop at 50, and a last row says N more. A passed result lists no runner artifacts, only what Plune kept of it.

A result can come with the address of its trace in your own observability tool: the place where your team already reads what the model or the service did while the test ran. The panel then has an Observability trace section right after What happened: the link Open the trace ↗, which opens that address in a new tab, and with it the address’s host and Plune keeps the link, not the trace.

Two sections of a failed result's panel. What happened: Error: expected the answer to offer a refund, and the error text in a box. Observability trace: the link Open the trace ↗, then observability.example.com · Plune keeps the link, not the trace. Two sections of a failed result's panel. What happened: Error: expected the answer to offer a refund, and the error text in a box. Observability trace: the link Open the trace ↗, then observability.example.com · Plune keeps the link, not the trace.
The trace link stands right after what happened.

Plune stores the address and nothing else. It does not fetch the trace, does not keep a copy of it, and does not check that the address opens. The link leads out of Plune, so what you see behind it depends on your access to that tool. A result that came without an address has no such section.

The address is an https:// one with a host, with no user name or password in it, with no spaces, and at most 2048 characters long. The API refuses any other with 400 and names the field; the CLI leaves such a link out before it sends, and says so: A trace link per result.

The same link shows in two more places:

  • On an eval of a run sent with plune sync. Under the eval’s name in Failed cases and in Passed, but not every run (An eval run with repeats) stand Open the trace ↗ and the host. An eval that passed steadily is only a number in the counter line, so its link is not on the page.
  • On a proposal in the review queue. A case that a Cairn run proposed with a link shows it as the fact Observability trace. The case an approval creates does not keep the link.

This is not the trace window below. That one opens a Playwright trace, a file in your bucket, inside Plune; this one is a link to another tool, and Plune holds nothing of what is behind it.

A trace in the project’s bucket has Open at the end of its row. It puts the Playwright Trace Viewer in a window over the panel — the viewer you know from npx playwright show-trace, with its timeline, actions, network and console. The title bar says Trace · the test’s name and has one button, ✕; Esc closes it while the focus is on the bar, and a click on the dimmed page does nothing, so a click inside the viewer never closes it.

The browser reads the file straight from your bucket, over a link that lives 10 minutes, and hands it to the viewer: N of M from your bucket stands while it comes. Plune opens traces up to 100 MB. That is why the bucket’s CORS rule must allow the dashboard’s address; the viewer’s own address (beta-trace.plune.ai) needs nothing.

The trace window over a result's panel: the title bar says Trace · delivery slot can be changed with a close button, and under it the Playwright Trace Viewer with its timeline, the list of actions on the left, the page's snapshot in the middle and the call details below. The trace window over a result's panel: the title bar says Trace · delivery slot can be changed with a close button, and under it the Playwright Trace Viewer with its timeline, the list of actions on the left, the page's snapshot in the middle and the call details below.
A trace of the bucket, open: the Playwright Trace Viewer in a window.

On a screen of 480 px or less the window says The trace viewer needs a wider screen with Open anyway. When the trace does not come, the window says why:

The window saysWhat happenedWhat to do
Your bucket didn’t let Plune read this tracethe bucket’s CORS rule does not allow the dashboard’s addressan owner of the project: Settings → Storage → Test connection, then CORS; Download trace and How to fix are in the window
This trace is no longer in your bucketa lifecycle rule, or someone with access to the bucket, removed itnothing to fix: the result and its other files stay in Plune
Storage is disconnectedthe project’s bucket was disconnectedan owner reconnects it in Settings → Storage; the trace is still in the bucket
This trace is too large to open hereover 100 MBDownload trace and npx playwright show-trace trace.zip
Could not loadany other failureTry again
The trace window with no viewer in it: the title bar, and in the middle Your bucket didn't let Plune read this trace, a line saying the bucket's CORS rule doesn't allow the dashboard's address, and two buttons, Download trace and How to fix. The trace window with no viewer in it: the title bar, and in the middle Your bucket didn't let Plune read this trace, a line saying the bucket's CORS rule doesn't allow the dashboard's address, and two buttons, Download trace and How to fix.
The bucket has no CORS rule for the dashboard: the window says so and offers the download.

A trace is kept only in a bucket. A project without one keeps the trace’s name, and the row has no Open.

Open on a JSON, a log or a text puts it in a window over the panel — the window a screenshot opens in, with one button, ✕. Its name and 1 of 3 stand at the top; ← and → go round the result’s texts, and Esc, ✕ or a click on the dimmed page beside the window closes it, with the focus back on the Open that opened it. A text is fetched when the window first stands on it, once: walking back to it fetches nothing. One that did not come says Could not load — click it to try again — and a text of nothing but blanks says This file is empty.

network.json open in a window over the panel: network.json · 1 of 3 and a close button on top; the JSON indented by two spaces, its keys, strings, numbers and null each in a colour of its own; and ← → to move · Esc to close beneath. network.json open in a window over the panel: network.json · 1 of 3 and a close button on top; the JSON indented by two spaces, its keys, strings, numbers and null each in a colour of its own; and ← → to move · Esc to close beneath.
A JSON, indented and coloured.
  • A JSON is indented by two spaces and coloured: keys, strings, numbers, and true · false · null each in a colour of their own. It is shown as the text it is, with line numbers, when it does not parse — or is nested so deep that indenting it would pass 4 MiB. One with more than 15 000 coloured pieces is indented but plain, and numbered.
  • A log or a text is set in a monospaced font with its line numbers beside it — apart from the text, so a selection takes the lines alone. A line never wraps: the box scrolls sideways and down. Tab from ✕ reaches the box, and while it has the focus the arrow keys scroll it, ← → included.
console.log open in the same window: console.log · 2 of 3, and nine lines of a log, each with its number beside it. console.log open in the same window: console.log · 2 of 3, and nine lines of a log, each with its number beside it.
A log, with its line numbers.

On a phone the window is the whole screen. A finger scrolls the text sideways and does not move to the next file.

The panel on a phone: the whole screen, ‹ 1 of 3 › and a close button at its top, then the case, its status, Open the case, Tested on version 1, Mute… and Copy prompt with its note, Where it ran in two columns, and the start of What happened. The panel on a phone: the whole screen, ‹ 1 of 3 › and a close button at its top, then the case, its status, Open the case, Tested on version 1, Mute… and Copy prompt with its note, Where it ran in two columns, and the start of What happened.
The log on a phone: the whole screen, console.log · 2 of 3 and a close button at its top, and the nine lines with their numbers, running past the screen's right edge. The log on a phone: the whole screen, console.log · 2 of 3 and a close button at its top, and the nine lines with their numbers, running past the screen's right edge.
  • Which files. application/json and text/plain. A log is text/plain, whatever it is called: .log, stdout and stderr are names, not types. Markdown, HTML, CSV, XML, archives, traces and videos are not kept; they stay in the CI run.
  • How big. UTF-8 text without NUL bytes, up to 512 KiB a file — as sent, and as kept — and 10 a result, apart from the screenshots’ 20. Sent while the run is open.
  • Cleaned first. Before a text is kept, colour codes and the credentials Plune recognises are taken out of it, by the pass the error’s text goes through (what the text keeps out). What is kept — and what the window shows — is the cleaned text, not what the test sent, byte for byte. A JSON can stop being JSON: a header "authorization": "Bearer …" becomes "authorization": [redacted:authorization], which does not parse, and the window shows the file as text.
  • Who sees it, and for how long. As for the screenshots: the project’s members, for as long as the run, with the Bin and the restore as they are above, and within the project’s one budget of 1 GiB.

To attach a file from your suite: JSON and text files — @plune-ai/playwright 0.5.0, or plune run import in @plune-ai/cli 0.17.0 from Playwright’s JSON report. Before them a text stays where the test ran, and a failed result’s panel lists only its name.

Any other client sends one with POST /v1/results/{id}/files?name=…: the file as the request body, its type in Content-Type, into a run that is still open. A text over 512 KiB is refused with 413, another type or bytes that are not UTF-8 text with 415, an eleventh text or a closed run with 409, an empty file with 400. GET /v1/files/{id} returns a kept text as text/plain; charset=utf-8 — a JSON too, never as a page — and a file of a run in the Bin as not found until the run is restored.