Player Registration — Test Cases
Feature version: v1.0
Reference doc: System Overview
Result notation: ✅ Pass | ❌ Fail | ⏭ Skip | 🐛 Fail + bug report
Changelog
| Date | Version | Change | Author |
|---|---|---|---|
| 2026-05-10 | v1.0 | Initial creation | — |
TC-REG-001 — Shop creates a Player (Managed Player) 🆕 NEW
Precondition: An active Shop account exists.
| # | Description | Steps | Expected Result | Actual Result |
|---|---|---|---|---|
| 1 | Shop creates a player successfully | Log in to Shop portal → Create player with name + credentials | Player created and linked to the Shop | |
| 2 | Player can log in with Shop-issued credentials | Use the credentials provided by the Shop to log in on Player Web / kiosk | Login successful | |
| 3 | Player name cannot be empty | Attempt to create a player with a blank name | Validation error — player not created |
TC-REG-002 — Player self-registers (Free Player) 🆕 NEW
Precondition: The public Player Web is accessible.
| # | Description | Steps | Expected Result | Actual Result |
|---|---|---|---|---|
| 1 | Register with email | Go to Player Web → Fill in email + details → Submit | Account created, not linked to any Shop | |
| 2 | Register with phone number | Go to Player Web → Fill in phone number + details → Submit | Account created, not linked to any Shop | |
| 3 | Duplicate email is rejected | Attempt to register with an email already in the system | Error: "email already in use" | |
| 4 | Free player has no Shop link | Check DB after self-registration | shop_id = NULL on the newly created account |