# Regression test case template

Regression tests re-check features that already worked, so a new change does not quietly break them. Keep them up to date, and run the High priority rows on every release. Examples are for an example online shop; replace them with your own app's.

## REG-01: Change the password

Feature: Account

Preconditions: Signed in as a test user

Steps:

1. Open Account settings
2. Enter the current and a new password
3. Select Save
4. Sign out and sign in with the new password

Expected result: Sign in works with the new password and fails with the old one.

Priority: High

Last run: 2026-10-01

Status: Passed

## REG-02: Filters narrow the results

Feature: Search

Preconditions: None

Steps:

1. Search for 'shirt'
2. Choose the filter Size M

Expected result: Only shirts in size M show, and the result count updates.

Priority: Medium

Last run: 2026-10-01

Status: Passed

## REG-03: The cart survives a reload

Feature: Cart

Preconditions: A product in the cart

Steps:

1. Reload the page

Expected result: The cart still holds the product and its quantity.

Priority: High

Last run: 2026-10-01

Status: Passed

## REG-04: Card payment completes

Feature: Checkout

Preconditions: A product in the cart, a test card

Steps:

1. Open Checkout
2. Enter the address and the test card
3. Select Pay

Expected result: An order confirmation shows with an order number, and an email arrives.

Priority: High

Last run: 2026-10-01

Status: Failed

## REG-05: Past orders are listed

Feature: Orders

Preconditions: Signed in as a user with orders

Steps:

1. Open Account, then Orders

Expected result: Every past order shows with its date, total and status.

Priority: Medium

Last run: 2026-09-24

Status: Passed

## REG-06: The password reset email arrives

Feature: Emails

Preconditions: A registered email address

Steps:

1. Select Forgot password
2. Enter the email
3. Open the email and follow the link

Expected result: The link opens a form to set a new password.

Priority: High

Last run: 2026-09-24

Status: Not run
