Arrange Act Assert

Jag Reehal's thoughts on things, mostly product development

My product owner wrote more Playwright tests than I did

01 Dec 2026

A product owner I work with wrote 55% more Playwright tests than I did across three of our projects. I’m a principal engineer with over 20 years of experience writing software, and I’m glad they outpaced me. For most of my career, product owners described the tests they wanted and engineers wrote them. AI coding agents have changed that on my team.

Bar chart of Playwright tests written across three projects. The product owner’s green bar is 55% longer than the blue bar for me, a principal engineer. Caption: The product owner wrote more tests.

AI opens that door to anyone who knows how the software should behave. I expect the companies that gain most from AI to be the ones that move acceptance criteria out of Jira and into tests that run on each change.

Product owners can now write their own tests

Writing a test used to mean writing code, so the product owner wrote the criteria and an engineer wrote the test. This product owner described the behaviour they wanted, Claude wrote the code, and they checked the result. All their tests sit in one project, with over 500 checks of how the product should behave.

Those tests use simulated backend services to record product demos, so they don’t measure production test coverage or anyone’s productivity. They do show someone outside engineering turning their understanding of expected behaviour into automated checks.

If you can describe and automate a demo of how a feature should work, you have most of what an acceptance test needs. The next step is to state the expected behaviour and check it. In Product owners belong in the codebase I argued that AI lets product owners read the code. Writing tests is the next step.

Confirm, check, reproduce

Teams argue about who should write the tests: engineering, QA or product. I would ask each person what they know about the software and help them turn it into a test. I see three ways anyone can contribute:

If you’re checking something you’re unsure about, agree the correct behaviour with your team before you turn it into a permanent test. Otherwise you can lock in a bug as the expected result.

The same goes for a website, a command-line tool, a cloud function or a whole business process. You don’t need to know the programming language to know what the software should do.

Quality assurance (QA) specialists still have a central role: test strategy, exploratory testing and spotting gaps matter more once dozens of people and agents add tests.

Acceptance criteria belong in code

Product owners write acceptance criteria in Jira. An engineer reads the ticket, interprets it, writes the code and, with luck, a test that matches. Each handover gives someone another chance to misread the rule. Then the ticket closes. Six months later someone changes the code, and the criterion sits in a closed ticket that nobody opens.

In 2006 Dan North wrote about Behaviour-Driven Development (BDD): business experts and engineers working from shared examples of expected behaviour, written so they could run as tests. The ambition was there twenty years ago. The barrier was that someone still had to turn each example into code. AI coding agents lower that barrier, and Playwright ships test agents that explore an app, plan scenarios and write the tests. On my team, a product owner already writes Playwright tests without waiting for an engineer. Executable acceptance criteria are the next step.

A product owner who writes the criterion as a test gets a check that runs on each change and fails the day someone breaks it. The ticket can link to the test. I think acceptance criteria are heading out of Jira and into the code they describe.

Some criteria, like whether a screen feels clear to a first-time user, need a person to judge. Any criterion a machine can check deserves the chance to become a test. Those tests matter because they capture knowledge your competitors can’t buy.

Domain knowledge is the advantage

Your competitors pay for the same models and coding agents you do. They can’t buy what your company knows about its customers, its business rules and the ways its software fails.

Your people hold that knowledge. An underwriter knows the pricing rules. A pharmacist knows when a dosage warning should appear, and a support lead knows why one customer journey keeps failing. In most companies they write it into tickets, and an engineer translates it into code weeks later.

Anthropic’s June 2026 study, Agentic coding and persistent returns to expertise, looked at about 400,000 Claude Code sessions: people in software jobs and people in other jobs reached at least partial success at about the same rate, while expertise in the task moved it from 77% for novices to 91-92% for experts. Anthropic judged success from session transcripts, so treat this as a signal that knowing the domain matters more than knowing the language.

If you invite people to build software, invite them to check it too.

An underwriter who can check a pricing rule themselves might catch a wrong assumption within minutes. In a company that routes each question through an engineering ticket, the same assumption might survive until a customer finds it.

The first company also moves faster. The underwriter doesn’t wait for engineering capacity, and the engineer doesn’t stop their work to translate another business rule into a test. Each needless handover adds waiting and a context switch that pulls the engineer out of flow.

In From gatekeeper to enabler and When does a vibe-coded app become a real product? I argued that engineers should help domain experts build. They should help them verify too.

Your product owner, analysts and support team don’t need to become engineers. Give them the tools and expect them to contribute.

Any competitor can generate code. The companies that gain most from AI will be the ones that turn what their people know into software they can verify on each change.

aiai-agentstestingproductengineering