Blog

Steps to reproduce: 5 bug reports, before and after

Five typical bug reports, each written the usual way and then rewritten so a developer can act on it, plus the rules behind the good versions.

A ticket with four numbered steps to reproduce, an expected result and an actual result

Steps to reproduce are the part of a bug report a developer reads first and a reporter writes last, usually in a hurry. Below are five typical web-app bugs, each reported twice. The "before" version is the one teams usually get. The "after" version is the one a developer can act on.

The bugs are invented, but you have seen all of them. Steps are one part of a report, and A bug report template you can copy, with a filled-in example covers the rest.

The rules behind the good versions

  • Start from a known state: which account or role, which page, which data. "Logged in as a viewer on a project with 200 tickets" removes half the guesswork.
  • Write one action per line, and name each control the way it reads on screen.
  • Include what you typed: the exact search term, the coupon code, the file name.
  • Stop at the bug. The last step is the one that shows the problem.
  • Then write Expected and Actual, one line each.
  • Say how often it happens: every time, or 2 out of 5 tries.

If your reports come through a tool that records the page URL, the browser and the console, people don't need to type those. Anything the tool can't see, such as a time zone setting or the account someone used, still belongs in the steps. Screenshots lie: what a bug report actually needs explains which parts a person should write and which parts software should record.

1. The coupon that applies twice

Before:

Discount is wrong at checkout.

After:

  1. Add one rain jacket to the cart. The total shows $120.00.
  2. Click Checkout.
  3. Enter the coupon SAVE10 and click Apply. The total shows $108.00.
  4. Click Back to return to the cart, then click Checkout again.

Expected: the total is still $108.00. Actual: the total is $97.20, so the coupon was applied twice. Happens every time.

The "before" version has no amounts, so the developer can't tell whether the discount is too big or missing altogether.

2. The search that finds nothing

Before:

Search doesn't work.

After:

  1. Log in with any customer account.
  2. Type Children's books in the search box at the top of the Catalog page.
  3. Press Enter.

Expected: the category "Children's books" is listed. Actual: "No results". Searching Childrens books, without the apostrophe, finds it. Happens every time.

The apostrophe is the bug, and only the exact search term reveals it.

3. The form that forgets

Before:

Lost everything I typed in the signup form!!

After:

  1. Open the signup page.
  2. Fill in name, email and company, and type a 6-character password.
  3. Click Create account. The message "Password must be at least 8 characters" appears.

Expected: the form keeps name, email and company, and only the password field is cleared. Actual: every field is empty. Happens every time.

The "after" version names the validation error that triggers the reset, which points straight at the code path.

4. The date that is one day off

Before:

Due dates are wrong sometimes.

After:

  1. Set your computer's time zone to UTC-5 (New York).
  2. Open any task and set the due date to November 15 in the date picker.
  3. Save, then reload the page.

Expected: the due date shows November 15. Actual: it shows November 14. Happens every time. With the time zone set to UTC+1 the date is correct.

"Sometimes" hid the real condition. The time zone turns an intermittent bug into one you can reproduce on demand, and it is the kind of detail only the reporter can give.

5. The card that won't stay put

Before:

Drag and drop is broken on the board.

After:

  1. Open the task board of a project with more than 20 cards in the Backlog column.
  2. Scroll the Backlog column to the bottom.
  3. Drag the last card to In Progress and drop it.

Expected: the card stays in In Progress. Actual: it jumps back to Backlog after about a second. Cards near the top of the column move fine. Happens 4 out of 5 tries.

A short screen recording helps here too. A jump that happens over time is hard to describe and easy to show, and Screenshot or video bug report? When each one helps covers how to record one.

Writing steps in the Tiqzen widget

The widget's description field has a Numbered list button, so reporters can write steps as a list without knowing Markdown. The page URL, browser, screen size and console log are attached automatically, so the steps can stay about what the reporter did.

Once the bug is understood, the ticket for the fix also needs to say what "fixed" means. Our acceptance criteria examples show how to write that part.

Before you send a report, read your steps as someone who wasn't there. If they couldn't follow them and see the bug on the first try, add the missing state or the exact input. To give reporters a form that collects most of this for them, see the bug report widget.

← All posts

Start tracking bugs the modern way

Free plan includes the capture widget (100 reports a month) and MCP access. No credit card, live in minutes.