feat: Playwright E2E smoke tests #23
Labels
No labels
domain:backend
domain:devops
domain:frontend
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/pal-e-docs-app#23
Loading…
Add table
Add a link
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?
Lineage
plan-pal-e-docs→ Phase F7 (phase-pal-e-docs-e2e-tests)Repo
forgejo_admin/pal-e-appUser Story
As a developer
I want automated E2E tests covering all major frontend features
So that regressions are caught before deployment instead of after
Context
pal-e-app has zero tests — no unit tests, no integration tests, no E2E tests. The backend (pal-e-docs) has 513 tests. This gap means features ship with only build verification and code review. This session manually validated 5 features via Playwright MCP — those exact tests should be codified.
File Targets
Files to create:
playwright.config.ts— Playwright config (Chromium, base URL, dark theme)e2e/home.spec.ts— T1: home page loads with nav elementse2e/search.spec.ts— T2: search with results, mode toggle, URL persistencee2e/dashboard.spec.ts— T3: dashboard loads with board rollupe2e/board-filtering.spec.ts— T4: type pills, hide-done, column collapsee2e/quick-jot.spec.ts— T5: FAB opens modal, create note flowe2e/note-detail.spec.ts— T6: note page with blocks, TOCe2e/board-dragdrop.spec.ts— T7: drag item between columnsFiles to modify:
package.json— add@playwright/testdevDependency, addtestandtest:e2escripts.woodpecker.yaml— addteststep afterbuild(beforebuild-and-push)Files NOT to touch:
src/— no production code changesAcceptance Criteria
npm run test:e2eruns all 7 test filesnpm run build && npm run preview)Test Expectations
Constraints
@playwright/test(not Cypress or other frameworks)Checklist
Closes #21Related
phase-pal-e-docs-e2e-tests— plan phaseplan-pal-e-docs— parent plan