Software Testing / Learning brief

Mei marks every mistake on the page

What this means in plain language

Tom's profile test stops at the first wrong fact, so he needs two runs to find two faults. A teacher who marks the whole page shows how soft assertions, time limits and clear messages help.

Understand the full idea, step by step

A poor marker sees one wrong answer and hands the paper back. The student fixes it and learns about the next mistake only on the next try. A good marker marks the whole page and circles every mistake at once.

Tom's test of the Daily List profile page marks like the poor marker. Daily List is a to-do list app. Mei, the test lead, asks him to mark like the good one.

Evidence & review

REVIEWED 2026-10-18

The date on this lesson is when it went up on Payments Signal, not when its material was written — most of these were brought across from an earlier catalogue in a single run, which is why so many of them share a date. What the lesson says about the world is dated by the review above and by the sources below it.

Playwright soft assertions and timeouts as taught in this academy, with an invented app and invented people. Playwright changes often, so check the current guide.

What this brief simplifies: Fiction labelled SYNTHETIC / TRAINING ONLY. Sources were seen only as search excerpts, and no real run was made. The teacher is a teaching picture.

Sources for this brief — 5 sources
  1. Market practice

    Assertions (Playwright documentation) ↗ — Microsoft (Playwright) · expect.soft records a failure and lets the test continue; the test is still marked as failed and the failures are listed at the end; a custom message can be given as the second argument to expect, and soft assertions support it; the expect timeout can be set per assertion (search excerpt, page not opened)

    Locator/page web assertions re-read current state; generic value assertions do not retry. APIResponse toBeOK checks a fixed captured 2xx status once, as confirmed by the pinned 1.65 matcher implementation; broad guide grouping must not imply a request resend. Soft assertions retain failure state; poll/toPass repeat their callbacks with explicit side-effect and deadline considerations. · 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.

  2. Market practice

    Timeouts (Playwright documentation) ↗ — Microsoft (Playwright) · The test timeout covers the test body, fixtures and beforeEach hooks; the expect timeout is separate; actionTimeout and navigationTimeout are set under use; test.setTimeout changes the limit for one test; test.slow triples it; there is also a global timeout (search excerpt, page not opened)

    Describes the test timeout (30 seconds by default at the time of writing, covering the test body, fixtures and beforeEach hooks), the expect timeout (5 seconds by default at the time of writing), the action and navigation timeouts set under use in the config (no limit by default), test.setTimeout, test.slow (triple the test timeout), the separate timeout of beforeAll and afterAll hooks and the global timeout. Says the expect timeout can be overridden per assertion. Default values change between releases, so lessons say 'at the time of writing' or leave them out. Vendor documentation for one tool. Practitioner guidance, 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

    TestInfo class reference (Playwright documentation) ↗ — Microsoft (Playwright) · test.info().errors holds the errors thrown during the test; the Assertions page uses it to check for soft assertion failures before a later step (search excerpt, page not opened)

    Says test.info().errors holds the errors thrown during test execution, if any. The Assertions page uses expect(test.info().errors).toHaveLength(0) to stop a test after earlier soft assertion failures. Vendor documentation for one tool. Practitioner guidance, not a standard. · 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.

  4. Market practice

    Best practices (Playwright documentation) ↗ — Microsoft (Playwright) · Prefer web-first assertions that retry; avoid fixed waits (search excerpt, page not opened)

    Recommends user-facing locators such as role-based ones over Cascading Style Sheets (CSS) or XPath, web-first assertions that retry, and avoiding fixed waits. Vendor documentation. Practitioner or vendor guidance, not a standard unless stated. · 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. A second search on 2026-10-20 returned this page for its title and matched the described content; the page was still not opened (search excerpt, page not opened).

  5. Simplified educational illustration

    Payments Signal editorial teaching models — Payments Signal

    This site's own simplified teaching models. · Checked 2026-07-12

    Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.

Learn this properly

START HERESoft assertions, timeouts and clear failure messagesSee every wrong fact in one run with soft assertions, know which time limit ran out, and write a failure message that tells the next person what broke.Opens at L0 Explain simply · about 18 min

Related briefs

Every column of a test case, in plain words

Tom finds three test sheets with three sets of columns. Mei asks for one table that says what every column means. It splits the columns into those written before a run and those filled in during it, with six use cases and eleven sample cases for Daily List.

READ BRIEF