{"id":10558,"date":"2026-10-13T07:48:56","date_gmt":"2026-10-13T05:48:56","guid":{"rendered":"https:\/\/betterqa.co\/?p=10558"},"modified":"2026-10-13T18:58:51","modified_gmt":"2026-10-13T16:58:51","slug":"building-a-qa-playground-for-playwright-a-developers-experience","status":"publish","type":"post","link":"https:\/\/betterqa.co\/building-a-qa-playground-for-playwright-a-developers-experience\/","title":{"rendered":"Practice sites teach the happy path. The job is the other 10%"},"content":{"rendered":"<p>A tester between jobs recently built a free <a href=\"https:\/\/playwright-playground.com\" target=\"_blank\" rel=\"noopener nofollow\">Playwright practice site<\/a>: 41 exercises, beginner to advanced, each with a brief, the APIs it practises and a hidden solution. It is a generous piece of work, and the thread under it on r\/QualityAssurance was mostly people saying thank you.<\/p>\n<p>The most useful reply was one sentence long. A reader pointed out that practice sites teach the happy path, while real work is mostly figuring out why a test fails once in ten runs.<\/p>\n<p>That is the gap we see on almost every project we join.<\/p>\n<h2>Green tests are not the hard part<\/h2>\n<p>Writing a test that passes against a calm page is a solved problem. Recorders, frameworks and assistants will all produce one in seconds. The work that decides whether a suite is worth anything starts the first time it goes red for no obvious reason:<\/p>\n<ul>\n<li>a response that arrives 200 ms later than usual<\/li>\n<li>two requests racing, where the order changes the result<\/li>\n<li>data left behind by the previous run<\/li>\n<li>a test that passes alone and fails in parallel<\/li>\n<\/ul>\n<p>None of these show up in a tutorial, because a tutorial controls the environment. Production never does.<\/p>\n<h2>Speed of generation is the wrong number<\/h2>\n<p>The same thread drifted into an argument about a generated framework that can produce a full suite in seconds after crawling a site. Fast generation is useful. But a suite made of smoke tests that open a page and check a heading tells you the server is up, not that the product works. A team that measures coverage by test count ends up with hundreds of tests and the same bugs in production.<\/p>\n<p>The useful question is not how fast the tests were written. It is how many real failures they caught, and how often a red build turned out to be the test&#8217;s fault rather than the product&#8217;s.<\/p>\n<h2>What we would add to a practice site<\/h2>\n<p>If you are learning automation, or hiring people who are, these exercises are worth more than another login form:<\/p>\n<ol>\n<li>A page whose content loads after a random delay. Make the test stable without a fixed sleep.<\/li>\n<li>Two buttons that fire requests in different orders. Write a test that catches the wrong final state.<\/li>\n<li>A test that fails one run in ten. Find out why before you add a retry.<\/li>\n<li>A suite that passes alone and fails in parallel. Find the shared state.<\/li>\n<\/ol>\n<p>The site&#8217;s author already has a flaky-test section and plans to add race conditions. That is the right direction.<\/p>\n<h2>The part people skip<\/h2>\n<p>Flaky tests are not a tooling problem. They are a sign that someone understood how the page behaves when everything is calm, and nobody asked what happens when it is not. That question is what a tester is for. Automation makes the answer repeatable; it does not ask the question.<\/p>\n<p>If your suite is green and your users still find the bugs, we are happy to look at it with you: <a href=\"https:\/\/betterqa.co\">betterqa.co<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A tester between jobs recently built a free Playwright practice site: 41 exercises, beginner to advanced, each with a brief, the APIs it practises and a hidden solution. It is a generous piece of work, and the thread under it on r\/QualityAssurance was mostly people saying thank you. The most useful reply was one sentence [&hellip;]<\/p>\n","protected":false},"author":62,"featured_media":12023,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1008],"tags":[],"class_list":["post-10558","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-best-practices-insights-and-perspective"],"acf":[],"_links":{"self":[{"href":"https:\/\/betterqa.co\/wp-json\/wp\/v2\/posts\/10558","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/betterqa.co\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/betterqa.co\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/betterqa.co\/wp-json\/wp\/v2\/users\/62"}],"replies":[{"embeddable":true,"href":"https:\/\/betterqa.co\/wp-json\/wp\/v2\/comments?post=10558"}],"version-history":[{"count":3,"href":"https:\/\/betterqa.co\/wp-json\/wp\/v2\/posts\/10558\/revisions"}],"predecessor-version":[{"id":10561,"href":"https:\/\/betterqa.co\/wp-json\/wp\/v2\/posts\/10558\/revisions\/10561"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/betterqa.co\/wp-json\/wp\/v2\/media\/12023"}],"wp:attachment":[{"href":"https:\/\/betterqa.co\/wp-json\/wp\/v2\/media?parent=10558"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/betterqa.co\/wp-json\/wp\/v2\/categories?post=10558"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/betterqa.co\/wp-json\/wp\/v2\/tags?post=10558"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}