Software Testing / Learning brief

Tom picks which channels to test

What this means in plain language

Tom's test suite grows too long to run after every small fix. A television-channel story shows how flags, filters and tags pick one test, a group or all, and why the full run still comes before release.

Understand the full idea, step by step

A television has many channels. To check a repair you flip to one channel. To check the news you flip through a group. Before a big match you check every channel.

Tom's test suite is the same. It has many tests, and he does not always want to run them all.

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 commands as taught in this academy, with an invented app. Flags come from vendor documentation, seen only as search excerpts, and can change between versions.

What this brief simplifies: Fiction labelled SYNTHETIC / TRAINING ONLY. Sources were seen only as search excerpts. The channels are a teaching picture, and the site address is a teaching address that does not exist.

Sources for this brief — 5 sources
  1. Market practice

    Command line (Playwright documentation) ↗ — Microsoft (Playwright) · npx playwright test takes flags such as --headed, --grep, --grep-invert, --project and --ui; show-report serves the last HTML report (search excerpt, page not opened)

    Lists the flags of the npx playwright test command. Vendor documentation, 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.

  2. Market practice

    Running and debugging tests (Playwright documentation) ↗ — Microsoft (Playwright) · Tests run headless by default; --headed shows the browser; a file name or title can be given to run a subset; show-report opens the report (search excerpt, page not opened)

    Shows how to run all tests, one file, one project and headed mode. Vendor documentation, 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

    Annotations (Playwright documentation) ↗ — Microsoft (Playwright) · Tests can carry tags, set with a tag option or an @ token in the title; each tag starts with @; npx playwright test --grep @fast runs the tagged tests and --grep-invert skips them (search excerpt, page not opened)

    Explains tags and how --grep and --grep-invert use them. Vendor documentation, 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.

  4. Market practice

    Configuration (Playwright documentation) ↗ — Microsoft (Playwright) · The config sets target browsers, timeouts, retries, projects and reporters; testDir is scanned for test files and defaults to the config file folder; baseURL lives under use (search excerpt, page not opened)

    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.

  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 HERERunning tests: the command line, headed mode, filters and tagsRun all tests, one file, one browser or only the tests with a tag. Watch a test in a visible browser, and learn the flags that new users mix up.Opens at L0 Explain simply · about 17 min

Related briefs

Tom checks which security rules apply

Tom separates regulatory and contractual obligations, reads requirement conventions and checks new security notices against actual assets. The hall and contract are invented; the source distinctions come from the named syllabus and RFCs.

READ BRIEF