Database testing · Users table
Same email signed up twice with different capital letters
P2 · MajorIntermediateUsers table
Want to find it yourself first? This page gives away the answer. Play this bug on a fake app screen and see if you can spot it in three tries.
The clue
Email addresses are not case sensitive.
Steps to reproduce
- Sign up as riya@mail.com
- Sign up again as Riya@Mail.com
Expected result
The second sign-up is blocked: this email is already registered
Actual result
A second account (id 4) is created for the same inbox
Why it matters
This is a major (P2) bug. The feature still works in part, but users get wrong information or a broken step, and many will notice. It should be fixed before or soon after release.
Testing tip
Unique rules should compare emails in lower case. Try upper case, spaces and dots when testing sign-up.
How to find bugs like this
Database bugs show up when you look at the tables: duplicate rows, joins that double totals, deleted users still active, values cut short or saved in the wrong type. When you test, try these checks:
- Run the query yourself and count the rows.
- Look for duplicates that differ only in case or spaces.
- Check deleted and archived records.
- Compare stored values with what the user typed.