To answer your question: I trust an AI bug report when it ships with something that replays without the model, which is exactly what your Action Tape and generated spec do. Rejecting positional selectors before they reach the browser is a good rule too. For the cheap, no-LLM end of the same idea, a deterministic crawl that opens every route at three viewports and fails on console errors, 5xx responses and horizontal overflow gives you reproducible findings with zero agent judgment, and works as a pre-pass before the persona swarm spends tokens. We open sourced ours: github.com/avivgerz-hue/ghost-qa
Thanks! "Replays without the model" is exactly the bar I was aiming for. A deterministic pre-pass is a good idea: console errors, 5xx responses and overflow are cheap to detect and need no agent judgment, so the persona tokens only get spent once that pass is clean. Today the engine only has a check_page_health action for visible error banners and stuck spinners. I'll take a look at ghost-qa to see how a pre-pass like that could sit in front of the swarm.
One thing I'd change in the generated spec: the failing step is a plain click, so the test can sit until the 120 s test timeout before it fails. Turning that last step into an assertion, like expect(page.getByTestId('checkout')).toBeVisible(), fails in about 5 s with a message that says what was missing. It also gives you a regression test for free. Once the bug is fixed the spec passes and can go straight into the suite. Setting testIdAttribute to data-test-subj in the Playwright config makes getByTestId match your selectors. Do you plan to keep the reproduction specs after the fix, or throw them away?
Do you plan to keep the reproduction specs after the fix, or throw them away?
Well, I guess this gonna depends on how the team works and how they want to use this tool. But keeping in mind this tool has been designed for a exploratory test phase, I'd just use it to catch bugs during development, so in most cases in does not make sense to keep the steps to reproduce it once it's fixed.
A technologist working in automation. Here I write up what I actually learn building tools, engineering AI agents, and keeping systems running, along with the workflows and habits that stick.
Keeping the failed step in the tape is useful. I'd also replay the generated spec in a clean session and distinguish a reproduced failure from a setup failure: an expired auth.json or missing fixture can produce a timeout before the reported bug is reached. Recording the app revision and initial test data alongside the tape would make that distinction easier.
Really useful, thank you. You're right, and it's a gap today: the spec uses storageState: 'auth.json' and the tape doesn't record the app revision or the starting data, so a timeout from a stale session looks the same as the reported bug. I'll look into recording both in the tape header, and into running the spec once in a clean session before reporting, so a reproduced failure can be told apart from a setup failure.
For me, two things. The report quotes the exact value it saw and where on the page it read it, next to what it expected; a bug with no observed value is an opinion. And it says "couldn't tell" instead of rounding up. Does your engine record what the persona saw at the failing step, or only the steps to reproduce?
Fair question, and the honest answer is: partly. Each tape entry stores the action, the result text (for extract_text, up to 4,000 characters), the error, and the page URL and title; bugs also get a full-page screenshot. The DOM snapshot the agent reasoned from isn't persisted, and a bug report doesn't carry an "observed vs expected" pair or a "couldn't tell" verdict. I'll study how to add both, since they're good requirements. Thanks for putting them so clearly.
When a saved auth.json session expires mid-mission or hits a login step that requires 2FA, can a tester step into the live browser to re-authenticate without discarding the current Action Tape?
Not live, no... But if the saved auth.json expires, the run now detects the login redirect, stops at a safe point (exit 130) and tells you to re-run agent-auth. Then it resumes from the checkpoint with the tape intact.
Thanks for the detail on detecting the login redirect, exiting with code 130 at a safe checkpoint to re-run agent-auth, and resuming with the Action Tape intact, I'm building Bumblebeez (hosted BrowserBox cloud browsers over MCP) so an agent run can also hand a direct live viewer link to a tester when a session hits an interactive login or 2FA step and resume in that same remote browser: bumblebeez.ai/go/forum-20261126-de...
Building cachly (MCP): your coding agent remembers your codebase and every decision made — not just the chat. Follows you between editors, stays when someone leaves. I post what I learn shipping it.
Here's a small case for rule #1 from the hands side. I once typed a reply on X while the text box hadn't taken focus, so the page read the sentence as keyboard shortcuts: n opened a new post, g then e jumped to Explore. Nothing got liked or muted, and that was luck, since l and u are exactly those. What I meant to do and what the page did were two different things, and nothing recorded the second one. Now I check where the focus is before typing and read the field back before sending. Your tape records the effect instead of the intent, which is the part I was missing.
That's a great real-world example, thanks for sharing it. One precision: the tape records the command the agent sent, its result or error, and the resulting page URL and title. The engine also targets elements by selector (fill and press both take one), so typing can't land on whatever happens to have focus. The gap you describe between what you meant and what the page did is exactly why I wanted that record.
The 80-element cap is the part I'd test before trusting a generated spec. The digest shows the agent at most 80 elements from a tree of 150, and a failed click comes back as text so the agent can try another selector. The tape records a data-test-subj click the same way whether that element was in the digest or chosen after a miss. I'd add one line on the failing entry: elements in the full tree, elements the agent was shown, and whether the target was in that set. If it wasn't, the spec replays a selector the model never saw. Do you drop those actions, or does the tape treat them like the ones it was shown?
what does a persona do with an icon button that has no test id, no aria label and no text? logging that as an accessibility bug instead of skipping it would be a fun side effect
We're a place where coders share, stay up-to-date and grow their careers.
To answer your question: I trust an AI bug report when it ships with something that replays without the model, which is exactly what your Action Tape and generated spec do. Rejecting positional selectors before they reach the browser is a good rule too. For the cheap, no-LLM end of the same idea, a deterministic crawl that opens every route at three viewports and fails on console errors, 5xx responses and horizontal overflow gives you reproducible findings with zero agent judgment, and works as a pre-pass before the persona swarm spends tokens. We open sourced ours: github.com/avivgerz-hue/ghost-qa
Thanks! "Replays without the model" is exactly the bar I was aiming for. A deterministic pre-pass is a good idea: console errors, 5xx responses and overflow are cheap to detect and need no agent judgment, so the persona tokens only get spent once that pass is clean. Today the engine only has a
check_page_healthaction for visible error banners and stuck spinners. I'll take a look at ghost-qa to see how a pre-pass like that could sit in front of the swarm.One thing I'd change in the generated spec: the failing step is a plain click, so the test can sit until the 120 s test timeout before it fails. Turning that last step into an assertion, like expect(page.getByTestId('checkout')).toBeVisible(), fails in about 5 s with a message that says what was missing. It also gives you a regression test for free. Once the bug is fixed the spec passes and can go straight into the suite. Setting testIdAttribute to data-test-subj in the Playwright config makes getByTestId match your selectors. Do you plan to keep the reproduction specs after the fix, or throw them away?
Well, I guess this gonna depends on how the team works and how they want to use this tool. But keeping in mind this tool has been designed for a exploratory test phase, I'd just use it to catch bugs during development, so in most cases in does not make sense to keep the steps to reproduce it once it's fixed.
Keeping the failed step in the tape is useful. I'd also replay the generated spec in a clean session and distinguish a reproduced failure from a setup failure: an expired auth.json or missing fixture can produce a timeout before the reported bug is reached. Recording the app revision and initial test data alongside the tape would make that distinction easier.
Really useful, thank you. You're right, and it's a gap today: the spec uses
storageState: 'auth.json'and the tape doesn't record the app revision or the starting data, so a timeout from a stale session looks the same as the reported bug. I'll look into recording both in the tape header, and into running the spec once in a clean session before reporting, so a reproduced failure can be told apart from a setup failure.For me, two things. The report quotes the exact value it saw and where on the page it read it, next to what it expected; a bug with no observed value is an opinion. And it says "couldn't tell" instead of rounding up. Does your engine record what the persona saw at the failing step, or only the steps to reproduce?
Fair question, and the honest answer is: partly. Each tape entry stores the action, the result text (for
extract_text, up to 4,000 characters), the error, and the page URL and title; bugs also get a full-page screenshot. The DOM snapshot the agent reasoned from isn't persisted, and a bug report doesn't carry an "observed vs expected" pair or a "couldn't tell" verdict. I'll study how to add both, since they're good requirements. Thanks for putting them so clearly.When a saved auth.json session expires mid-mission or hits a login step that requires 2FA, can a tester step into the live browser to re-authenticate without discarding the current Action Tape?
Not live, no... But if the saved auth.json expires, the run now detects the login redirect, stops at a safe point (exit 130) and tells you to re-run agent-auth. Then it resumes from the checkpoint with the tape intact.
Thanks for the detail on detecting the login redirect, exiting with code 130 at a safe checkpoint to re-run agent-auth, and resuming with the Action Tape intact, I'm building Bumblebeez (hosted BrowserBox cloud browsers over MCP) so an agent run can also hand a direct live viewer link to a tester when a session hits an interactive login or 2FA step and resume in that same remote browser: bumblebeez.ai/go/forum-20261126-de...
Here's a small case for rule #1 from the hands side. I once typed a reply on X while the text box hadn't taken focus, so the page read the sentence as keyboard shortcuts: n opened a new post, g then e jumped to Explore. Nothing got liked or muted, and that was luck, since l and u are exactly those. What I meant to do and what the page did were two different things, and nothing recorded the second one. Now I check where the focus is before typing and read the field back before sending. Your tape records the effect instead of the intent, which is the part I was missing.
That's a great real-world example, thanks for sharing it. One precision: the tape records the command the agent sent, its result or error, and the resulting page URL and title. The engine also targets elements by selector (
fillandpressboth take one), so typing can't land on whatever happens to have focus. The gap you describe between what you meant and what the page did is exactly why I wanted that record.The 80-element cap is the part I'd test before trusting a generated spec. The digest shows the agent at most 80 elements from a tree of 150, and a failed click comes back as text so the agent can try another selector. The tape records a data-test-subj click the same way whether that element was in the digest or chosen after a miss. I'd add one line on the failing entry: elements in the full tree, elements the agent was shown, and whether the target was in that set. If it wasn't, the spec replays a selector the model never saw. Do you drop those actions, or does the tape treat them like the ones it was shown?
AI helped draft this comment.
what does a persona do with an icon button that has no test id, no aria label and no text? logging that as an accessibility bug instead of skipping it would be a fun side effect