# My app — test plan

## Sign in (AUTH)

| ID | Journey | Preconditions | Steps | Expected result | WEB | AND | IOS |
|---|---|---|---|---|---|---|---|
| AUTH-01 | Sign in with email and password | An existing account | 1. Open the app. 2. Enter the email and password. 3. Tap Sign in. | The home screen opens with the account's name at the top. | | | |
| AUTH-02 | Wrong password shows a clear error | An existing account | 1. Enter the right email and a wrong password. 2. Tap Sign in. | A message says the email or password is wrong. The email stays filled in. | | | |
| AUTH-03 | Stay signed in after closing the app | Signed in | 1. Close the app completely. 2. Open it again. | The app opens signed in, without asking for the password. | N/A | | |

## Checkout (PAY)

| ID | Journey | Preconditions | Steps | Expected result | WEB | AND | IOS |
|---|---|---|---|---|---|---|---|
| PAY-01 | Pay with a saved card | A saved card, an item in the basket | 1. Open the basket. 2. Tap Pay. | The payment succeeds and a receipt is shown. | | | |
| PAY-02 | A declined card is handled | A card that will decline | 1. Pay with the declining card. | A message says the card was declined. The basket is kept. | | | |
