End-to-end tests with Playwright (#15) #35
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MassiveDynamic/kataba!35
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/15-playwright-e2e"
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?
Closes #15.
What
A Playwright suite (
npm run e2e) covering the main v1 flows end to end.kataba_e2e, derived fromDATABASE_URLor set withE2E_DATABASE_URL. Any database whose name doesn't end in_e2eis refused, and Vitest covers that guard. Every run migrates the database and empties it, along with.e2e/uploads.Notes
CREATE DATABASE kataba_e2e; GRANT ALL PRIVILEGES ON kataba_e2e.* TO 'kataba'@'localhost';(see the README).use cache), and only the admin actions invalidate that cache.🤖 Generated with Claude Code