# The Bug Was Fixed. Is It Still Fixed? Turning Reproduced Bugs into Regression Tests

> A bug support reproduced once shouldn’t come back three releases later. When the Reproduction lab reproduces a bug, its steps become a regression test automatically, run on your test account after the fix, compared with the failure, reported to engineering with evidence, and exportable to Playwright.

Source: https://www.ticketresolve.ai/blog/regression-tests-from-reproduced-bugs · Published 2026-11-14 · TicketResolve AI

**Every support team has seen this one: a customer reports a bug, engineering fixes it, the ticket closes, and three releases later the same customer reports the same bug.**

**The steps that would have caught it existed. Support reproduced the bug once. Then those steps lived in a ticket comment nobody would read again.**

Here's how that plays out at a company that sells an online course platform. In March, a course creator reports that uploading a video with an apostrophe in the filename (*"Week 1 – Mark's intro.mp4"*) fails silently:

- **Support reproduces it**, carefully, in five steps, and writes them in a ticket comment.
- **Engineering fixes it** by escaping the filename. The ticket closes.
- **In June,** a refactor of the upload service drops the escaping. Nobody notices, because nothing tests that case.
- **In July,** the same creator reports the same bug, with a little less patience: *"This was fixed in March?"*

The five steps were right there in March's ticket. They just never became a test.

## First, the basics

- **A reproduction** is a recorded way to make a bug happen: the steps and what went wrong.
- **The Reproduction lab** tries reported bugs on your product with a **test account** in a real browser.
- **A regression test** re-runs a bug's steps to check it stays fixed.
- **A check** is a condition the test verifies, like "no server errors".
- **An API scenario** replays an API call that failed, expecting it to succeed now.
- **Fixed, still failing, regressed, still passing, inconclusive** are the possible results.
- **Playwright** is a widely used tool for automated browser tests.
- **CI** is the pipeline that builds and tests your code.

**Why does this matter?** A bug that comes back costs more than the first time: the customer's trust, and the engineer's time rediscovering the cause. Turning every reproduced bug into a test, automatically, means the work support already did keeps protecting customers after the ticket closes.

## The problem, in plain terms

1. **Reproduction steps** live in ticket comments.
2. **Fixes aren't checked** against the original failure.
3. **Refactors** quietly undo old fixes.
4. **Writing tests by hand** competes with other work.
5. **Test results** don't reach the engineers who need them.

## A reproduced bug is a test waiting to be written

**TR-AI's Reproduction lab already tries reported bugs on your product with a test account and records exactly what happened: the steps, the error the customer saw, the server errors, the failed API calls. When it reproduces a bug, those steps now become a regression test in your workspace's library, automatically.**

**Each test has:**

- **the steps, exactly as the lab ran them;**
- **the expected result and what was seen when the bug was reproduced;**
- **checks: no server errors, no page crashes, the expected text shown, the customer's error message gone;**
- **API scenarios from the calls that failed, which should now return a success.**

**Building the test costs nothing extra: the steps came from the reproduction itself, and no AI is involved in turning them into a test.**

## Run it after the fix

**When engineering says it's fixed, run the test. It uses the same test account and the same safety rules as the Reproduction lab (never billing, security settings, deletions, invitations or other sites) on the product URL you set up. It is the only environment TR-AI runs tests in.**

**The result is compared with the failing reproduction and with the last run:**

- **Fixed.** **It failed before and passes now.**
- **Still failing.** **The fix didn't cover this case.**
- **Regressed.** **It passed before and fails again.**
- **Still passing.** **Nothing to report.**
- **Inconclusive.** **A step couldn't be performed, so there's no verdict.**

**Anything other than "still passing" goes to engineering with the evidence (steps, what was observed, the environment and the run log), attached to the engineering ticket and commented on the Jira, Linear or GitHub issue. The result also lands on the investigation's timeline, between the code change and the deployment.**

## Take it into your own suite

**Every test also comes as a Playwright file. Copy it into your repository, set your test URL and login as environment variables in CI, and adjust the sign-in steps for your product. Only read-only API calls are replayed; anything that changes data is covered by the UI steps instead.**

## A worked example, start to finish

Here's the apostrophe bug, with regression tests. The details are illustrative.

**March, the reproduction.** The Reproduction lab tries the creator's report on the test account: create a course, open the upload page, choose *"Mark's intro.mp4"*, click Upload. The upload spinner stops; nothing appears. A server error `400 InvalidKey` is logged. **Reproduced.**

**March, the test, automatically.** A regression test appears in the library:

- **Steps:** the five steps, exactly as the lab ran them.
- **Expected:** the video appears in the course. **Seen:** nothing appears; `400 InvalidKey`.
- **Checks:** no server errors; no page crash; the text *"Mark's intro"* shown in the course; the customer's error gone.
- **API scenario:** the failed upload call, which should now succeed.

No AI was involved; the steps came from the reproduction.

**March, after the fix.** Engineering escapes filenames and moves the issue to done. The support engineer, Wanjiru, **runs the test**. Result: **Fixed** (failed before, passes now). Nothing else to do.

**March, into CI.** Engineering copies the **Playwright file** into the repository, sets the test URL and login as CI environment variables, and adjusts the sign-in steps. It now runs on every pull request.

**June, the refactor.** A developer's refactor of the upload service drops the escaping. The Playwright test **fails in CI** on the pull request. The developer sees *"Mark's intro"* not shown, fixes the escaping, and merges. The bug never reaches customers.

**Another case, a fix that missed something.** A different bug's test returns **Still failing** after engineering's fix: the fix handled Chrome but not the Safari case the customer had. The evidence (steps, what was observed, environment, run log) is attached to the engineering ticket and commented on the Jira issue. It also lands on the investigation's **timeline**.

## Five more real-world scenarios

### 1. A step that can't run

**Situation.** The test account no longer has access to a feature.

**How TR handles it.** **Inconclusive**: a step couldn't be performed, so there's no verdict.

### 2. A bug in billing

**Situation.** A reported bug involves the billing page.

**How TR handles it.** The safety rules never touch billing, security settings, deletions, invitations or other sites.

### 3. A regression after a later release

**Situation.** A test that passed last month now fails.

**How TR handles it.** **Regressed**, and engineering hears with the evidence.

### 4. API calls that change data

**Situation.** The bug involved a call that creates records.

**How TR handles it.** Only read-only API calls are replayed in the Playwright file; data-changing steps are covered by the UI steps.

### 5. Linear instead of Jira

**Situation.** Engineering uses Linear.

**How TR handles it.** Results are commented on the Jira, Linear or GitHub issue.

## Before and after

**Before.** Five careful steps in a March ticket comment, a refactor in June, and the same bug reported again in July.

**After.** The steps became a test automatically, confirmed the fix, ran in CI on every pull request, and caught the refactor before it shipped.

## How to tell it's working

- **The test library grows** with every reproduced bug.
- **"Still failing" results** reach engineering before customers hear "fixed".
- **The same bug** stops coming back.

## Who it's for

- **Support engineers** who reproduce bugs.
- **Engineering and QA teams** who want real-world tests.
- **Customers** who don't want to report the same bug twice.

## How it fits with the rest of TicketResolve

Regression tests come from the **Reproduction lab**, feed **fix verification** (which runs them when an issue moves to done), land on the **unified timeline**, and give **release risk** the tests to suggest for changes in the same areas.

## Why no AI in the test

The reproduction already recorded exactly what happened: the steps, the error, the failed calls. Turning that into a test is a translation, not a judgement. Doing it without AI means the test is exactly what the lab ran, it costs nothing extra, and there's no chance of a model inventing a step or a check that wasn't there. The judgement (does this result mean fixed?) comes from comparing the run with the original failure.

## Adapting the Playwright file

The Playwright file is a starting point for your own suite. Set `TEST_BASE_URL`, `TEST_USER` and `TEST_PASSWORD` in your CI, adjust the sign-in steps to match your product's login, and keep the checks as they are; they're what makes the test meaningful. If your team already has page helpers for common flows, swap them in for the raw steps. And keep the test's name pointing back to the ticket, so whoever sees it fail knows why it exists.

## Mistakes to avoid

- **Closing a bug** without running its test.
- **Ignoring "inconclusive".** Fix the test account so the test can run.
- **Leaving tests in TR-AI only.** Put them in CI too.

## Do it in TicketResolve, step by step

**Where:** Reproduction lab (`/dashboard/escalation`); tests in Engineering intelligence → Regression tests (`/dashboard/engineering-intelligence`). **You'll need:** a test account and product URL set up for the Reproduction lab. **Full guides:** [Reproduction lab: TR-AI reproduces bugs on your test account](https://www.ticketresolve.ai/docs/guide/reproduction-lab) and [Engineering intelligence and the unified timeline](https://www.ticketresolve.ai/docs/guide/engineering-intelligence).

1. **Set up the test account** and product URL for the Reproduction lab.
2. **Let the lab reproduce bugs**; each reproduced bug becomes a regression test.
3. **Open a test** to see its steps, expected and seen results, checks and API scenarios.
4. **Run it after the fix.**
5. **Read the result**: fixed, still failing, regressed, still passing or inconclusive.
6. **Check engineering's ticket** for evidence on anything other than still passing.
7. **Copy the Playwright file** into your repository and run it in CI.

**How to check it worked:** a run shows its result against the original failure, and non-passing results appear on the engineering issue.

## Frequently asked questions

**When is a regression test created?**
Automatically, whenever the Reproduction lab reproduces a bug.

**Does it use AI?**
No. The steps come from the reproduction itself.

**What does a test check?**
No server errors, no page crashes, the expected text shown, the customer's error gone, and failed API calls now succeeding.

**Where does it run?**
On your test account, with the Reproduction lab's safety rules.

**What results are possible?**
Fixed, still failing, regressed, still passing and inconclusive.

**Who hears about failures?**
Engineering, on the engineering ticket and the Jira, Linear or GitHub issue.

**Can I use the tests in my CI?**
Yes. Every test comes as a Playwright file.

**Are data-changing API calls replayed?**
No. Only read-only calls; the rest is covered by UI steps.
