Add browser tests for editing and deleting users #57
Labels
No labels
app
backlog
bug
ci-cd
contribution welcome
duplicate
enhancement
good first issue
help wanted
question
testing
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Depends on
#54 Replace Dusk with Pest 4 browser testing (Playwright)
lvl0/dishplanner
Reference: lvl0/dishplanner#57
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Gap
tests/Browser/Users/contains onlyCreateUserTest.php. TheUsersListLivewire component exposes full CRUD —create,store,edit,update,confirmDelete,delete,cancel— so edit and delete are untested in a browser.Delete goes through a confirmation modal (
confirmDelete→delete, withcancel), which is exactly the kind of multi-step Livewire interaction that feature tests do not fully exercise.Compare
tests/Browser/Dishes/, which has 6 tests includingDeleteDishTestandDishDeletionSafetyTest— users deserve the same treatment.Scope
In
tests/Browser/Users/:Consider whether deleting a user with scheduled dishes needs a safety test, mirroring
DishDeletionSafetyTest.Blocked by #54
Write in Pest browser syntax after the Dusk → Pest migration.
Acceptance