Add browser test for registration #55

Closed
opened 2026-08-18 23:53:16 +02:00 by myrmidex · 0 comments
Owner

Gap

/register has no browser test. RegistrationTest.php covers it at feature level, but nothing exercises the actual form in a browser.

Scope

Cover, in tests/Browser/Auth/RegisterTest.php:

  • Successful registration → redirected to /dashboard, logged in
  • Validation errors render in the form (missing fields, invalid email, password confirmation mismatch)
  • Duplicate email is rejected with a visible message

Follow the pattern of the existing tests/Browser/Auth/LoginTest.php.

Blocked by #54

Write these in Pest browser syntax after the Dusk → Pest migration lands. Writing them in Dusk now means porting them immediately afterwards.

Acceptance

  • Registration success path covered
  • Validation failures covered
  • Duplicate email covered
  • Green in CI
## Gap `/register` has no browser test. `RegistrationTest.php` covers it at feature level, but nothing exercises the actual form in a browser. ## Scope Cover, in `tests/Browser/Auth/RegisterTest.php`: - Successful registration → redirected to `/dashboard`, logged in - Validation errors render in the form (missing fields, invalid email, password confirmation mismatch) - Duplicate email is rejected with a visible message Follow the pattern of the existing `tests/Browser/Auth/LoginTest.php`. ## Blocked by #54 Write these in Pest browser syntax after the Dusk → Pest migration lands. Writing them in Dusk now means porting them immediately afterwards. ## Acceptance - [ ] Registration success path covered - [ ] Validation failures covered - [ ] Duplicate email covered - [ ] Green in CI
myrmidex added this to the v0.9.0 milestone 2026-08-18 23:53:16 +02:00
myrmidex added the
testing
label 2026-08-18 23:53:16 +02:00
myrmidex added a new dependency 2026-08-18 23:54:04 +02:00
myrmidex self-assigned this 2026-08-20 23:25:29 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference: lvl0/dishplanner#55
No description provided.