📖 Step 7: Testing & Quality#202 / 291

Reproduce

Reproduce

📖One-line summary

Recreating the exact conditions that trigger a bug.

Example

Document the steps to reproduce a bug

1. On the product page, click "Add to cart"

2. Change quantity to 0

3. Click the "Checkout" button

Vibe coding prompt examples

>_

Set up an environment to reproduce a user-reported bug. Test in the same browser version, OS, and screen size.

>_

Write the bug reproduction scenario as a Playwright test. Automate the repro steps so I do not have to check manually each time.

Try these prompts in your AI coding assistant!