Skip to main content

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 CaseStepsExpected ResultStatus
1Access CMSNavigate to https://team.symphonycore.com/admin/CMS login page loads
2GitHub LoginClick "Login with GitHub"Redirects to GitHub OAuth, then back to CMS dashboard
3View CollectionsAfter login, check left sidebarAll collections visible (Architecture, Training, PRDs, etc.)
4Edit Existing PageClick on any existing doc → make a small change → PublishChange commits to GitHub, site rebuilds

P1 - Core Functionality

#Test CaseStepsExpected ResultStatus
5Create New PageSelect a collection → "New" → Fill fields → PublishNew .md file created in correct folder
6Rich Text EditorUse bold, italic, headings, listsFormatting applied correctly
7Add ImageInsert image via editorImage uploads to static/img/
8Preview ChangesUse preview mode before publishingPreview shows rendered content

P2 - Edge Cases

#Test CaseStepsExpected ResultStatus
9Logout/Re-loginLogout from CMS → Login againSession restored, no errors
10Concurrent EditOpen same page in two tabsNo data loss or conflicts
11Special CharactersAdd page with special chars in titleSlug sanitized correctly

Test Environment


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

DateTesterP0 PassP1 PassP2 PassNotes

Rollback Plan

If critical issues found:

  1. Revert commit: git revert HEAD
  2. Push to trigger rebuild
  3. Report issue in GitHub Issues