Add browser test for the dashboard #59

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

Gap

/dashboard has no browser test and no feature test. It is the post-login landing page, so every authenticated session starts there.

Do #35 first

#35 ("Enhance dashboard page") will change this page. Writing browser tests against the current layout means rewriting them straight after.

Order: #54 (Pest migration) → #35 (dashboard redesign) → this.

If #35 slips out of this milestone, this should follow it rather than be done early.

Scope

In tests/Browser/Dashboard/DashboardTest.php:

  • Loads after login without console errors
  • Renders whatever #35 settles on as its content
  • Empty state renders correctly for a planner with no dishes or schedule
  • Navigation to /dishes, /schedule, and /users works from here

Pest's console-error assertions are worth using — a dashboard that renders but throws JS errors is a real failure mode this app has no coverage for.

Acceptance

  • Loads and renders after login
  • Empty state covered
  • Navigation links covered
  • No console errors
  • Green in CI
## Gap `/dashboard` has no browser test and no feature test. It is the post-login landing page, so every authenticated session starts there. ## Do #35 first #35 ("Enhance dashboard page") will change this page. Writing browser tests against the current layout means rewriting them straight after. **Order: #54 (Pest migration) → #35 (dashboard redesign) → this.** If #35 slips out of this milestone, this should follow it rather than be done early. ## Scope In `tests/Browser/Dashboard/DashboardTest.php`: - Loads after login without console errors - Renders whatever #35 settles on as its content - Empty state renders correctly for a planner with no dishes or schedule - Navigation to `/dishes`, `/schedule`, and `/users` works from here Pest's console-error assertions are worth using — a dashboard that renders but throws JS errors is a real failure mode this app has no coverage for. ## Acceptance - [ ] Loads and renders after login - [ ] Empty state covered - [ ] Navigation links covered - [ ] No console errors - [ ] Green in CI
myrmidex added this to the v0.9.0 milestone 2026-08-18 23:53:51 +02:00
myrmidex added the
testing
label 2026-08-18 23:53:51 +02:00
myrmidex added a new dependency 2026-08-18 23:54:21 +02:00
myrmidex added a new dependency 2026-08-18 23:54:24 +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#59
No description provided.