Software Testing / Learning brief

Nina reads the test

What this means in plain language

Nina cannot read Tom's test code, so they write the check as a short story in plain words. A recipe card story shows how Cucumber and Playwright join, what it costs, and when it is not worth it.

Understand the full idea, step by step

A customer hands a baker a recipe card in her own words: a soft cake, not too sweet. The baker turns the words into steps, and the customer can read the card and say yes, that is what I meant.

Nina wishes tests worked like that. She cannot read Tom's code.

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.

Behaviour-driven development with Cucumber and Playwright as taught in this academy, with an invented app and invented people. Tool details come from Cucumber and vendor guides seen only as search excerpts.

What this brief simplifies: Fiction labelled SYNTHETIC / TRAINING ONLY. Sources were seen only as search excerpts. The recipe card is a teaching picture. Two ways of joining the tools are described, and both change with new versions.

Sources for this brief — 5 sources
  1. Market practice

    Gherkin reference (Cucumber documentation) ↗ — Cucumber · Gherkin uses the keywords Feature, Scenario, Given, When, Then, And and But, and a tool runs each step in order (search excerpt, page not opened)

    Official reference: Given, When, Then, And and But are valid step keywords; Rule and Scenario Outline structures. A focused example need not ban And. · Checked 2026-11-05

    Publisher page opened on 5 November 2026. Earlier search-only notes are superseded for the claims stated here. Wording is paraphrased; source-figure reuse is not assumed.

  2. Market practice

    Playwright behaviour-driven development: setup, Gherkin and end-to-end testing guide (TestDino) ↗ — TestDino · Two routes: Cucumber.js with Playwright inside step definitions, or a package that turns feature files into native Playwright tests so the Playwright runner stays in control (search excerpt, page not opened)

    Vendor blog guide comparing two ways to join Cucumber-style scenarios and Playwright. 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; read at the time of writing. 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.

  3. Market practice

    Best practices (Playwright documentation) ↗ — Microsoft (Playwright) · Test what the user sees, keep tests isolated, prefer role and text locators, use web-first assertions that retry, use TypeScript and ESLint to catch errors early, and run tsc --noEmit in the pipeline (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).

  4. Market practice

    Auto-waiting (Playwright documentation) ↗ — Microsoft (Playwright) · Playwright runs actionability checks before an action and fails with a timeout error if they do not pass in time (search excerpt, page not opened)

    Says Playwright runs actionability checks (visible, stable, enabled, receives events) before an action and fails with a timeout error if they do not pass in time. Vendor documentation. Practitioner or vendor guidance, not a standard unless stated. · 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.

  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 HEREBDD with Cucumber and PlaywrightWrite Daily List checks as plain-language scenarios that Nina can read, then connect each line to a Playwright step. Learn two ways to join them and what each costs.Opens at L0 Explain simply · about 20 min

Related briefs