Source: https://everyrole.dev/blog/registration-page-test-cases

# User sign-up test cases, from the form to first login

User sign-up test cases for a registration page: the form, the confirmation email, the link in it and the first login, with what each step must answer.

Nov 22, 2026  updated Nov 30, 2026  7 min read  by the EveryRole team

To test user sign-up, write cases for four steps, not one: the registration form, the confirmation email, the link in it, and landing back in the app, signed in, where the person was going. Most lists of registration page test cases stop at the form. A sign-up that passes every form case and then sends a link nobody can open has lost the user all the same. So cover all four steps, and finish with the case nobody runs: log out and log in again.

Below is the list we use, step by step.

![Sign-up as four steps. One, the form: one account must come out, and it fails with two accounts from a double press. Two, the email: it must arrive with a link to the live site, and fails with a link to a test server. Three, the link: it must confirm once, and fails with an error on a second click. Four, back where they were: signed in on the page they came for, and it fails by dropping them on the home page.](https://everyrole.dev/s/blog/registration-page-test-cases/four-steps.webp)

A long list of form cases covers step one. The other three steps are where sign-ups go missing without an error.

## Step 1: test cases for the registration page itself

These sign up page test cases are ordinary [form cases](https://everyrole.dev/blog/how-to-write-test-cases), plus four that only a sign-up form has.

| Case | What to do | What must come out |
| --- | --- | --- |
| Good input | A new address, a password that follows the rules | One account. A page that says an email was sent, and to which address |
| Empty | Press the button with nothing typed | The form stays, each required field says so, no account |
| Wrong format | `not-an-email`as the address | A message that names the email field. What was typed is kept |
| [Wrong, then right](https://everyrole.dev/blog/wrong-then-right-test) | The wrong address, then a good one | One account, no stale error |
| Already registered | An address that has an account | No second account, no crash, and a way on (log in, or reset the password) |
| Same address, other case | `Sample@Example.com`after `sample@example.com` | Your decision, the same one the login form makes |
| Spaces around it | The address pasted with a space at the end | Accepted and trimmed, or refused with a message that says why |
| Pressed twice | Two fast presses on the button | One account, one email |
| A real name | `Zoë O'Brien-Núñez` | Accepted, and spelled the same on the account page and in the email |
| Markup as a name | `<b>Sample</b>` | Shown as those characters everywhere, the email included. Never as bold text |
| Terms left unticked | Everything filled, the required box empty | Refused at the box, no account |

Here is the wrong-format case on a real form, our own.

![EveryRole's own sign-up form after "not-an-email" was sent. A red message above the field says "Enter a valid email address." The work email field still holds "not-an-email", and the button "Send me a sign-up link" is under it.](https://everyrole.dev/s/blog/registration-page-test-cases/signup-wrong-email.webp)

Our own sign-up form, sent with not-an-email. The message says what to fix and the typed value is still there.

If your form has a password, add three more. The rules must be on the page before the person types, not revealed one refusal at a time. A password of exactly the minimum length must be accepted: that is [a boundary](https://everyrole.dev/blog/boundary-value-testing), and it is checked in two places that can disagree. And if there is a “confirm password” field, a mismatch is refused at that field, without emptying the first one.

For “already registered”, decide what you want to reveal. A message that says “this address has an account” tells a stranger who your users are. A neutral “check your inbox” doesn’t. Either is a choice. Write the one you made into the case.

### Sign-up with Google, or another provider

A “Sign up with Google” button is a second route into the same account table, with cases of its own. Run it once with a test account at the provider. Then the two that break: an address that already has a password account (one account at the end, or a message saying how to get in, never two accounts), and Cancel on the provider’s page (back on your sign-up page with a way to try again, not an error). Step 4 below applies to this route too.

## Step 2: the email

Now leave the browser. This is where written test cases tend to stop, and where a sign-up can break with every form case green.

- **It arrives.** Decide how long is acceptable and write that down. An email that arrives after the person gave up is a failed sign-up.
- **The link points at the right site.** Open the email and read the address of the link. A link to `localhost`, to a staging host, or to `http` where the site needs `https` works on the developer’s machine and nowhere else.
- **It says who it is from and what it is for.** The sender name is your product. The subject says confirm.
- **One email per sign-up.** The double press in step 1 shows up here as two emails with two different links, and the first one no longer works.

You need an inbox the test can read. That is its own subject, and we cover it in [how to test email verification](https://everyrole.dev/blog/test-email-verification).

## Step 3: the link

| Case | What to do | What must come out |
| --- | --- | --- |
| The link, once | Click it | The account is confirmed and the person is told so |
| The link, twice | Click it again | Something sensible: “already confirmed” and a way in. Not a raw error |
| Another browser | Sign up on a laptop, open the link on a phone | It still confirms. Then it says where to go next |
| An old link | Ask for a new email, then click the first one | Either works, or it says the link is old and offers a new one |
| A broken link | Cut the last characters off the address | The app’s own error page, with a way to get a new link |

The second row is not a rare event. Some mail apps and security scanners open links before the person does, so “twice” is normal use. Run that case on a real phone’s mail app at least once.

## Step 4: registration form test cases nobody writes

The person is confirmed. Three things still have to be true.

**They are signed in, or asked to log in exactly once.** Confirming, then being sent to a login form, then to a second confirmation, is a loop, and it only shows to someone who signs up from scratch.

**They are back where they were going.** If they pressed “Sign up” from a pricing table, a shared document or a half-filled form, that is where they should land, with what they typed still there. Landing on an empty home page is the failure that produces no error anywhere: the account exists, every request answered 200, and the person closes the tab.

**They can come back tomorrow.** Log out. Log in with what was just registered. This is the “first login” in the title, and it catches a class of bug nothing else does: the password was saved wrong, the address was stored with its trailing space, the account was created twice and the login finds the unconfirmed one.

## Signup form testing on production

All of the above creates accounts. On a live app, that needs rules:

- Sign up with addresses on a mailbox you own, named so they are easy to find.
- Delete each test account afterwards, through the app’s own “delete my account” if it has one. Then check it can no longer log in.
- If the app has no way to delete an account, write that down as a finding. Your user list will fill with test sign-ups, and that is a product gap, not a testing detail.
- Never go past the payment step.

## How EveryRole tests sign-up

EveryRole treats the form itself like any form stop: good input, empty, wrong format, wrong then right, and the extra cases you turn on, such as the button pressed twice.

The journey past the form is a kind of user of its own, “a brand-new user”, and it is off until you turn it on. When it is on, EveryRole signs up by itself with its own inbox, confirms the email, and goes through what a new user sees. Each run makes a real test account in your app, which it deletes afterwards through your app’s own settings, and it says so when it could not. On production it never pays.

It runs on the live site, from outside, so it meets the link the way a stranger does: a confirmation link that points at a test server fails there, where a test that reads the database would pass.

What it doesn’t replace is the phone. The mail app that opens links in its own small browser is still a test for a person with a real device.

## Try it on your own app

EveryRole tests your app’s real user journeys for each kind of user, from the live site, and runs them after every deploy. Paste your app’s address to see what it finds.

[Start with your app](https://everyrole.dev/signup) [How it works](https://everyrole.dev/docs#start)

## Keep reading

Sign-up, login and passwords

### [How to test email verification, from inbox to app](https://everyrole.dev/blog/test-email-verification)

How to test email verification end to end. The test has to read the real email, so give it an inbox of its own, a new address per run, and five things to check.

Nov 22, 2026  6 min read

Sign-up, login and passwords

### [Password reset test cases: the email, the link, the reuse](https://everyrole.dev/blog/forgot-password-test-cases)

Password reset test cases for a forgot password flow: the request, the email, a link that works once and then expires, and an old password that stops working.

Nov 22, 2026  6 min read

Sign-up, login and passwords

### [Test cases for a login page, beyond the password](https://everyrole.dev/blog/login-page-test-cases)

Test cases for a login page beyond right and wrong passwords: right after wrong, where you land, already signed in, Back after log out, with real answers.

Nov 22, 2026  6 min read
