Software Testing / Learning brief

Tom brings the stove into the kitchen

What this means in plain language

Tom writes tests in one window and runs them in another, losing time on each fix. A kitchen story shows the editor extension, Show Browser and Pick locator, and why a headless run still matters.

Understand the full idea, step by step

A cook who must walk to another room to read the next line of a recipe loses time and loses her place. A cook with the recipe on the counter beside the stove can read, stir and taste in one flow.

Tom has been the first cook. He writes in one window and runs in another.

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.

The Playwright extension for VS Code as taught in this academy, with an invented app and invented people. Tool details come from vendor documentation seen only as search excerpts.

What this brief simplifies: Fiction labelled SYNTHETIC / TRAINING ONLY. Sources were seen only as search excerpts. The kitchen is a teaching picture. Menu names and options change between versions.

Sources for this brief — 4 sources
  1. Market practice

    VS Code (Playwright documentation) ↗ — Microsoft (Playwright) · The extension adds a testing sidebar with a run button beside each test, a Show Browser option, live locator highlighting and a Pick locator button that prefers role, text and test id locators (search excerpt, page not opened)

    Describes the Playwright extension for VS Code. 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.

  2. 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).

  3. 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.

  4. 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 HEREThe editor workflow: the VS Code extension and running tests as you writeInstall the Playwright extension in Visual Studio Code, run a test with one click, watch the browser, pick a locator from the page and fix a test without leaving the editor.Opens at L0 Explain simply · about 16 min

Related briefs

Tom sorts the kitchen jobs

Tom practises questions on why we test. A restaurant kitchen helps him tell testing from debugging and quality assurance, and name the links from error to failure.

READ BRIEF

Tom opens the kitchen

Tom practises questions on test tools and test automation. A kitchen full of gadgets shows him that each tool has a job, and that a tool needs effort before it pays off.

READ BRIEF