CMS Test Plan
Feature: Sveltia CMS Visual Content Editor Assignee: Rohit Status: Pending Created: 2025-12-07
Overview
This test plan validates the Sveltia CMS integration that allows non-technical users to edit documentation via a visual interface at /admin/.
Test Cases (Priority Order)
P0 - Critical Path
| # | Test Case | Steps | Expected Result | Status |
|---|---|---|---|---|
| 1 | Access CMS | Navigate to https://team.symphonycore.com/admin/ | CMS login page loads | ⬜ |
| 2 | GitHub Login | Click "Login with GitHub" | Redirects to GitHub OAuth, then back to CMS dashboard | ⬜ |
| 3 | View Collections | After login, check left sidebar | All collections visible (Architecture, Training, PRDs, etc.) | ⬜ |
| 4 | Edit Existing Page | Click on any existing doc → make a small change → Publish | Change commits to GitHub, site rebuilds | ⬜ |
P1 - Core Functionality
| # | Test Case | Steps | Expected Result | Status |
|---|---|---|---|---|
| 5 | Create New Page | Select a collection → "New" → Fill fields → Publish | New .md file created in correct folder | ⬜ |
| 6 | Rich Text Editor | Use bold, italic, headings, lists | Formatting applied correctly | ⬜ |
| 7 | Add Image | Insert image via editor | Image uploads to static/img/ | ⬜ |
| 8 | Preview Changes | Use preview mode before publishing | Preview shows rendered content | ⬜ |
P2 - Edge Cases
| # | Test Case | Steps | Expected Result | Status |
|---|---|---|---|---|
| 9 | Logout/Re-login | Logout from CMS → Login again | Session restored, no errors | ⬜ |
| 10 | Concurrent Edit | Open same page in two tabs | No data loss or conflicts | ⬜ |
| 11 | Special Characters | Add page with special chars in title | Slug sanitized correctly | ⬜ |
Test Environment
- CMS URL: https://team.symphonycore.com/admin/
- Docs Site: https://team.symphonycore.com/
- GitHub Repo: https://github.com/symphonycore-org/internal-docs
- Cloudflare Project: symphonycore-docs
Prerequisites
Before testing, verify:
- Environment variables set in Cloudflare (
GITHUB_OAUTH_CLIENT_ID,GITHUB_OAUTH_CLIENT_SECRET) - GitHub OAuth App created with correct callback URL
- Deployment completed successfully (check Cloudflare Pages dashboard)
Test Results
| Date | Tester | P0 Pass | P1 Pass | P2 Pass | Notes |
|---|---|---|---|---|---|
Rollback Plan
If critical issues found:
- Revert commit:
git revert HEAD - Push to trigger rebuild
- Report issue in GitHub Issues