TOPIC 30/6016 MINNOT STARTED

Reporters and artifacts: reports, screenshots, videos and traces

Choose Playwright reporters for people and for build tools, record screenshots, videos and traces only when they pay off, and keep them after a failed run.

L1–L4 are part of the Pro pass

L0 Explain simply

Analogy: the receipt, the photos and the dashcam footage of a journey. After a car journey, three things may exist. A receipt says what you paid. Photos show what a place looked like. Dashcam footage shows the whole trip. You do not keep all three for every trip. After an accident, you are glad you kept the footage.

Daily List is a to-do list app. Tom's tests run every night. In the morning, Nina asks one question: did they pass? Leo asks another: if one failed, show me what the page looked like.

The picture has limits. Dashcam footage is small to keep. Videos and traces take disk room, so the team keeps them when a test fails.

What it is: Playwright is a free library from Microsoft that drives a real browser from code. This topic is one slice of that library: how a run writes down what happened. A reporter is the receipt. It can print to the screen, write a web page, or write a file for a . A is a file left behind, such as a screenshot, a video or a trace. The output directory is the folder for those files. Its default name is test-results. The nearest neighbour is the one-line pass or fail in the terminal. That line does not show the page.

Why it matters: A pass or fail bit is not enough for a bug. Mei needs the screenshot and the trace attached to the report, or she asks Tom to run the failure again from memory. Without saved artifacts, a night run that failed is gone in the morning. The next run clears test-results at the start.

(SYNTHETIC / TRAINING ONLY: Daily List, the site daily-list.example and every person named in this lesson are invented.)

PLAIN WORDS · 1 in this section
playwright
a free Microsoft tool that drives a browser for tests

PICTURE IT

The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.

THE REAL JOB Keeping a short summary for everyone and richer evidence only for the runs that went wrong.

  1. Print a summary
  2. Take a photo on failure
  3. Keep the footage on failure
  4. Upload before the machine goes
Receipt for all, footage for the accident

HOW THE PICTURE MAPS

How each part of the picture matches the software
In the pictureIn the software
The receiptThe reporter's summary
The photosScreenshots
The dashcam footageVideos and traces
The glove boxThe output folder

WHERE THIS PICTURE STOPS

  • Footage costs little to keep in a car. Videos and traces take disk room.
  • A glove box stays with the car. A build machine is deleted.
  • You keep a receipt for every trip. Artifacts are kept mostly for failures.

HOOK

Receipt for all, footage for the accident.

REMEMBER IT THIS WAY

A chunk: a long list grouped so it is easier to hold.

Receipt for every run, footage only for a failure. Keep the summary always and the video or trace when a test fails.

What each part of the trick stands for
In the trickWhat it stands for
receiptthe reporter summary
footagevideos and traces

A build machine is deleted, so the footage must be saved out of it.

TELL A FRIEND

The receipt, photos and dashcam footage of a run.

OFTEN MIXED UP WITH Automation reports, trends and run analytics. The automation reports lesson shows how to read and use results in any tool. This lesson shows the Playwright reporters and artifacts.

Sources & standards — 5 sources
  1. Market practice

    Reporters (Playwright documentation) ↗ — Microsoft · Built-in reporters list, line, dot, html, json, junit and blob; html opens with npx playwright show-report; dot is the default on CI and list otherwise (search excerpt, page not opened)

    Describes the built-in reporters (list, line, dot, html, json, junit, blob), the default on and off CI, show-report and the html output folder. Vendor documentation for one tool. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  2. Market practice

    Configuration (Playwright documentation) ↗ — Microsoft (Playwright) · Reviewed 6 November 2026: Complete extracted primary article; examples inspected, not executed. See v45 source analysis for version scope and documented source ambiguities; no upstream run claimed.

    Describes playwright.config.ts, testDir, the use block, the webServer setting and forbidOnly, which makes a run fail when a test or group is marked only and suits CI. Vendor documentation, not a standard. · Checked 2026-11-06

    Primary source opened and operative text inspected on 6 November 2026. Scope: Complete extracted primary article; examples inspected, not executed. Current live Playwright documentation reflects 1.65 where stated; explicit older examples retain their version. Source inspection is not an execution or compatibility-test claim. See the completed v45 Playwright analysis for source discrepancies and exact reading boundaries.

  3. Market practice

    Trace viewer (Playwright documentation) ↗ — Microsoft · Reviewed 6 November 2026: Complete extracted primary article; examples inspected, not executed. See v45 source analysis for version scope and documented source ambiguities; no upstream run claimed.

    Describes recording a trace (the trace option and its values such as on-first-retry), opening one with npx playwright show-trace, and what the viewer shows: actions, DOM snapshots, console, network and source. Vendor documentation for one tool. · Checked 2026-11-06

    Primary source opened and operative text inspected on 6 November 2026. Scope: Complete extracted primary article; examples inspected, not executed. Current live Playwright documentation reflects 1.65 where stated; explicit older examples retain their version. Source inspection is not an execution or compatibility-test claim. See the completed v45 Playwright analysis for source discrepancies and exact reading boundaries.

  4. Market practice

    ISTQB Certified Tester Foundation Level Syllabus v4.0.1 ↗ — International Software Testing Qualifications Board · Section 6.2, Benefits and Risks of Test Automation: a tool needs ongoing effort to give lasting benefits, and its risks need analysis and mitigation (confirmed against the syllabus, read in full text from a mirror copy of the publisher PDF, v4.0.1, 15 September 2024)

    The examinable statement of what a foundation-level tester is expected to know: six chapters, 64 learning objectives, each tagged K1 Remember, K2 Understand or K3 Apply, plus the test-design techniques the qualification names and groups as black-box, white-box and experience-based.

    Used here for the test-craft questions a Payment Quality Assurance Analyst and a Production Support Analyst are asked. It is cited for what the syllabus says a tester must be able to do, never as a rule about how payments work. · Checked 2026-11-07

    v4.0.1 is dated 15 September 2024 and is a list of corrections to v4.0 (21 April 2023) that reworded six learning objectives — not a cosmetic reissue. 78 pages.

    Two traps this entry exists to stop. v4.0.2 is the German edition (1 March 2025, 94 pages), so sorting by version number reaches the wrong document. And the widely-repeated per-chapter question allocation "8 / 5 / 4 / 11 / 9 / 3" is wrong: it is 8 / 6 / 4 / 11 / 9 / 2, derived from three official sample-exam answer keys and confirmed against the Exam Structure Tables.

    The single most consequential detail for a question bank: white-box coverage — statement and branch — is K2 "Explain", not K3 "Apply" (FL-4.3.1, FL-4.3.2, FL-4.3.3), and MC/DC, path and condition coverage are declared out of scope in §4.3. A question asking a candidate to compute branch coverage is testing something this syllabus does not.

    Read through a mirror, because the publisher's own domain could not be fetched (a reachability gap, not a statement about the publisher). A 403 there is a policy refusal and says nothing about whether the document exists or is reachable elsewhere.

    Anyone on an unrestricted network should open the canonical URL above and confirm the section and page numbers cited against it. Every claim drawn from this entry is written so that it can be checked against a numbered page.

    Read from two independent PDF-to-markdown conversions mirrored on raw.githubusercontent.com. They are treated as faithful because they were produced by unrelated parties with different tooling, agree on the full 64-item objective set including wording, and reproduce the same internal inconsistency present in the source PDF. Chapter 1 reads "testware that supports" where Appendix B reads "that support". A conversion artefact does not replicate across two toolchains.

    The licence permits attributed non-commercial extracts and use as the basis for articles. Whether a site that sells a pass may rely on that is an owner's decision, not this entry's.

    7 November 2026 review: actual publisher PDF 4.0.1, 15 September 2024, 78 pages, front matter/copyright and relevant numbered operative sections 0.5–0.10 and chapters 1–6 compared with CTFLpractice lessons. Earlier mirror/search descriptions are historical access records. TheK2 white-box objectives require explanation; the source does not justify a categorical ban on small numeric illustrations that support explanation. Later Exam Rules 1.2§4.1.4 usesK2 for keyword definitions, while syllabus§0.5 usesK1; keep dated scopes distinct. No copied questions or figure assets.

  5. Market practice

    TestOptions (Playwright documentation) ↗ — Microsoft (Playwright) · Reviewed 6 November 2026: trace/video attempt retention. See v45 source analysis for version scope and documented source ambiguities; no upstream run claimed.

    Describes connectOptions in the test config. Vendor documentation, not a standard. · Checked 2026-11-06

    Primary source opened and operative text inspected on 6 November 2026. Scope: trace/video attempt retention. Current live Playwright documentation reflects 1.65 where stated; explicit older examples retain their version. Source inspection is not an execution or compatibility-test claim. See the completed v45 Playwright analysis for source discrepancies and exact reading boundaries.

PRACTISE AND KEEP

Sources for this topic — 5 sources
  1. Market practice

    Reporters (Playwright documentation) ↗ — Microsoft · Built-in reporters list, line, dot, html, json, junit and blob; html opens with npx playwright show-report; dot is the default on CI and list otherwise (search excerpt, page not opened)

    Describes the built-in reporters (list, line, dot, html, json, junit, blob), the default on and off CI, show-report and the html output folder. Vendor documentation for one tool. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  2. Market practice

    Configuration (Playwright documentation) ↗ — Microsoft (Playwright) · Reviewed 6 November 2026: Complete extracted primary article; examples inspected, not executed. See v45 source analysis for version scope and documented source ambiguities; no upstream run claimed.

    Describes playwright.config.ts, testDir, the use block, the webServer setting and forbidOnly, which makes a run fail when a test or group is marked only and suits CI. Vendor documentation, not a standard. · Checked 2026-11-06

    Primary source opened and operative text inspected on 6 November 2026. Scope: Complete extracted primary article; examples inspected, not executed. Current live Playwright documentation reflects 1.65 where stated; explicit older examples retain their version. Source inspection is not an execution or compatibility-test claim. See the completed v45 Playwright analysis for source discrepancies and exact reading boundaries.

  3. Market practice

    Trace viewer (Playwright documentation) ↗ — Microsoft · Reviewed 6 November 2026: Complete extracted primary article; examples inspected, not executed. See v45 source analysis for version scope and documented source ambiguities; no upstream run claimed.

    Describes recording a trace (the trace option and its values such as on-first-retry), opening one with npx playwright show-trace, and what the viewer shows: actions, DOM snapshots, console, network and source. Vendor documentation for one tool. · Checked 2026-11-06

    Primary source opened and operative text inspected on 6 November 2026. Scope: Complete extracted primary article; examples inspected, not executed. Current live Playwright documentation reflects 1.65 where stated; explicit older examples retain their version. Source inspection is not an execution or compatibility-test claim. See the completed v45 Playwright analysis for source discrepancies and exact reading boundaries.

  4. Market practice

    ISTQB Certified Tester Foundation Level Syllabus v4.0.1 ↗ — International Software Testing Qualifications Board · Section 6.2, Benefits and Risks of Test Automation: a tool needs ongoing effort to give lasting benefits, and its risks need analysis and mitigation (confirmed against the syllabus, read in full text from a mirror copy of the publisher PDF, v4.0.1, 15 September 2024)

    The examinable statement of what a foundation-level tester is expected to know: six chapters, 64 learning objectives, each tagged K1 Remember, K2 Understand or K3 Apply, plus the test-design techniques the qualification names and groups as black-box, white-box and experience-based.

    Used here for the test-craft questions a Payment Quality Assurance Analyst and a Production Support Analyst are asked. It is cited for what the syllabus says a tester must be able to do, never as a rule about how payments work. · Checked 2026-11-07

    v4.0.1 is dated 15 September 2024 and is a list of corrections to v4.0 (21 April 2023) that reworded six learning objectives — not a cosmetic reissue. 78 pages.

    Two traps this entry exists to stop. v4.0.2 is the German edition (1 March 2025, 94 pages), so sorting by version number reaches the wrong document. And the widely-repeated per-chapter question allocation "8 / 5 / 4 / 11 / 9 / 3" is wrong: it is 8 / 6 / 4 / 11 / 9 / 2, derived from three official sample-exam answer keys and confirmed against the Exam Structure Tables.

    The single most consequential detail for a question bank: white-box coverage — statement and branch — is K2 "Explain", not K3 "Apply" (FL-4.3.1, FL-4.3.2, FL-4.3.3), and MC/DC, path and condition coverage are declared out of scope in §4.3. A question asking a candidate to compute branch coverage is testing something this syllabus does not.

    Read through a mirror, because the publisher's own domain could not be fetched (a reachability gap, not a statement about the publisher). A 403 there is a policy refusal and says nothing about whether the document exists or is reachable elsewhere.

    Anyone on an unrestricted network should open the canonical URL above and confirm the section and page numbers cited against it. Every claim drawn from this entry is written so that it can be checked against a numbered page.

    Read from two independent PDF-to-markdown conversions mirrored on raw.githubusercontent.com. They are treated as faithful because they were produced by unrelated parties with different tooling, agree on the full 64-item objective set including wording, and reproduce the same internal inconsistency present in the source PDF. Chapter 1 reads "testware that supports" where Appendix B reads "that support". A conversion artefact does not replicate across two toolchains.

    The licence permits attributed non-commercial extracts and use as the basis for articles. Whether a site that sells a pass may rely on that is an owner's decision, not this entry's.

    7 November 2026 review: actual publisher PDF 4.0.1, 15 September 2024, 78 pages, front matter/copyright and relevant numbered operative sections 0.5–0.10 and chapters 1–6 compared with CTFLpractice lessons. Earlier mirror/search descriptions are historical access records. TheK2 white-box objectives require explanation; the source does not justify a categorical ban on small numeric illustrations that support explanation. Later Exam Rules 1.2§4.1.4 usesK2 for keyword definitions, while syllabus§0.5 usesK1; keep dated scopes distinct. No copied questions or figure assets.

  5. Market practice

    TestOptions (Playwright documentation) ↗ — Microsoft (Playwright) · Reviewed 6 November 2026: trace/video attempt retention. See v45 source analysis for version scope and documented source ambiguities; no upstream run claimed.

    Describes connectOptions in the test config. Vendor documentation, not a standard. · Checked 2026-11-06

    Primary source opened and operative text inspected on 6 November 2026. Scope: trace/video attempt retention. Current live Playwright documentation reflects 1.65 where stated; explicit older examples retain their version. Source inspection is not an execution or compatibility-test claim. See the completed v45 Playwright analysis for source discrepancies and exact reading boundaries.

Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.