Software Testing / Learning brief

Tom and the room that was clean but not the building

What this means in plain language

A Daily List test passes alone and fails in the full run. A hotel room cleaned for every guest shows what Playwright isolates, and why shared data on the server still needs care from the whole team.

Understand the full idea, step by step

A hotel gives each guest a freshly cleaned room. No bags or keys are left from the last guest. But the building around the rooms is shared.

Tom's Playwright rename test passes alone and fails in the full run. The room was clean. Something in the building was not.

PLAIN WORDS · 2 in this section
playwright
a free Microsoft tool that drives a browser for tests
rename
give a new name to

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 isolation as taught in this academy, with an invented app and an invented teaching site.

What this brief simplifies: Fiction labelled SYNTHETIC / TRAINING ONLY. Sources were seen only as search excerpts. The hotel is a teaching picture, and the fixes shown are common practice.

Sources for this brief — 4 sources
  1. Market practice

    Isolation (Playwright documentation) ↗ — Microsoft (Playwright) · Each test gets its own browser context, a clean-slate profile like an incognito one, fast to create and fully isolated; a new context shares no cookies or cache with others; close contexts before the browser (search excerpt, page not opened)

    Says Playwright gives each test its own browser context, a clean-slate environment like an incognito profile that is fast to create and fully isolated. 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.

  2. Market practice

    Best practices (Playwright documentation) ↗ — Microsoft (Playwright) · Recommends isolated tests that do not depend on each other (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

    Using HyperText Transfer Protocol (HTTP) cookies (Mozilla developer docs) ↗ — Mozilla (developer documentation) · After sign-in the server sets a cookie with a session identifier and the browser sends it back with later requests (search excerpt, page not opened)

    Per the search excerpt, after sign-in the server sets a cookie holding a session identifier and the browser sends it back with later requests. Without an expiry a cookie is a session cookie. A cookie is removed by setting its expiry in the past. The page advises sending a new session cookie at sign-in to stop session fixation. · 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. 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 HEREIsolation: browser contexts and a fresh state for every testPlaywright gives each test a fresh browser context. Learn what that isolates, what it does not, and how to act as two users in one test.Opens at L0 Explain simply · about 20 min

Related briefs