Skip to content

Admin Panel

QA test plan covering admin dashboard, user management, reports, content moderation, product approval, categories, jobs, blacklist, ads, and access control.


IDDescriptionPreconditionsStepsExpected ResultPriority
ADM-AC-001Admin can access admin routesLogged in as admin1. Navigate to /adminAdmin dashboard loads successfullyP0
ADM-AC-002Regular user cannot access admin routesLogged in as regular user1. Navigate to /adminRedirected to home or shown 403 ForbiddenP0
ADM-AC-003Moderator cannot access admin-only routesLogged in as moderator1. Navigate to /admin/usersAccess denied or limited to moderator permissionsP0
ADM-AC-004Unauthenticated user cannot access admin routesNot logged in1. Navigate to /adminRedirected to login pageP0
ADM-AC-005Direct URL access to admin sub-routes blockedLogged in as regular user1. Enter /admin/reports directly in browserRedirected or shown 403P1

Route: /admin

IDDescriptionPreconditionsStepsExpected ResultPriority
ADM-D-001Display total users countLogged in as admin1. Navigate to /adminTotal registered users stat displayedP0
ADM-D-002Display total posts countLogged in as admin1. Navigate to /adminTotal posts stat displayedP0
ADM-D-003Display total reports countLogged in as admin1. Navigate to /adminPending reports stat displayedP1
ADM-D-004Display total products countLogged in as admin1. Navigate to /adminTotal products stat displayedP1
ADM-D-005Stats reflect real-time dataLogged in as admin; new user just registered1. Refresh /adminUser count reflects the new registrationP2

Route: /admin/users

IDDescriptionPreconditionsStepsExpected ResultPriority
ADM-U-001List all usersLogged in as admin1. Navigate to /admin/usersPaginated list of users displayedP0
ADM-U-002Search users by nameLogged in as admin1. Enter name in search field 2. SubmitMatching users displayed in resultsP0
ADM-U-003Search users by emailLogged in as admin1. Enter email in search field 2. SubmitMatching user displayedP0
ADM-U-004Update user role to adminLogged in as admin1. Select a user 2. Change role to “admin” 3. SaveUser role updated to adminP0
ADM-U-005Update user role to moderatorLogged in as admin1. Select a user 2. Change role to “moderator” 3. SaveUser role updated to moderatorP0
ADM-U-006Update user role to regular userLogged in as admin; target is moderator1. Select user 2. Change role to “user” 3. SaveUser role downgraded to regular userP1
ADM-U-007Suspend a userLogged in as admin1. Select a user 2. Set status to “suspended” 3. SaveUser status set to suspended; user cannot log inP0
ADM-U-008Ban a userLogged in as admin1. Select a user 2. Set status to “banned” 3. SaveUser status set to banned; user permanently blockedP0
ADM-U-009Reactivate a suspended userLogged in as admin; user is suspended1. Select user 2. Set status to “active” 3. SaveUser reactivated; can log in againP0
ADM-U-010Verify a userLogged in as admin1. Select an unverified user 2. Click “Verify”User marked as verified; verification badge shownP1
ADM-U-011Search with no resultsLogged in as admin1. Search for “zzz_nonexistent_user”Empty state shown; “No users found” messageP2

Route: /admin/reports

IDDescriptionPreconditionsStepsExpected ResultPriority
ADM-R-001View pending reportsLogged in as admin1. Navigate to /admin/reportsList of pending reports displayedP0
ADM-R-002View report detailsLogged in as admin; reports exist1. Click on a reportReport details shown: reporter, reported content, reasonP0
ADM-R-003Take action on a reportLogged in as admin1. Open a report 2. Select action (warn/suspend/remove content) 3. SubmitAction applied; report status updated to resolvedP0
ADM-R-004Dismiss a reportLogged in as admin1. Open a report 2. Click “Dismiss”Report dismissed; removed from pending listP1
ADM-R-005Filter reports by statusLogged in as admin1. Filter reports by “resolved”Only resolved reports shownP2
ADM-R-006Empty reports stateLogged in as admin; no pending reports1. Navigate to /admin/reports”No pending reports” message displayedP2

Route: /admin/posts

IDDescriptionPreconditionsStepsExpected ResultPriority
ADM-PM-001Review flagged postsLogged in as admin1. Navigate to /admin/postsList of posts for review displayedP0
ADM-PM-002Delete a postLogged in as admin1. Select a post 2. Click “Delete” 3. ConfirmPost removed from platform; no longer visible to usersP0
ADM-PM-003View post content before deletingLogged in as admin1. Click on a post to previewFull post content displayed for reviewP1
ADM-PM-004Approve a flagged postLogged in as admin1. Select a flagged post 2. Click “Approve”Post unflagged; remains visibleP1

Route: /admin/products

IDDescriptionPreconditionsStepsExpected ResultPriority
ADM-PA-001View products pending approvalLogged in as admin1. Navigate to /admin/productsList of pending products displayedP0
ADM-PA-002Approve a productLogged in as admin1. Select a product 2. Click “Approve”Product approved; visible in marketplaceP0
ADM-PA-003Reject a productLogged in as admin1. Select a product 2. Click “Reject” 3. Enter reasonProduct rejected; seller notified with reasonP0
ADM-PA-004Preview product before approvalLogged in as admin1. Click on a pending productProduct details, images, and pricing shownP1

Route: /admin/categories

IDDescriptionPreconditionsStepsExpected ResultPriority
ADM-C-001View all categoriesLogged in as admin1. Navigate to /admin/categoriesList of all categories displayedP0
ADM-C-002Create a new categoryLogged in as admin1. Click “Add Category” 2. Enter name and details 3. SaveCategory created; appears in category listP0
ADM-C-003Edit a categoryLogged in as admin1. Select a category 2. Modify name 3. SaveCategory name updatedP1
ADM-C-004Delete a categoryLogged in as admin; category has no products1. Select a category 2. Click “Delete” 3. ConfirmCategory removed from listP1
ADM-C-005Prevent deleting category with productsLogged in as admin; category has associated products1. Attempt to delete categoryWarning or error: category in useP1
ADM-C-006Create category with duplicate nameLogged in as admin1. Enter name of existing category 2. SaveError: category name already existsP2

Route: /admin/jobs

IDDescriptionPreconditionsStepsExpected ResultPriority
ADM-J-001View jobs pending reviewLogged in as admin1. Navigate to /admin/jobsList of pending jobs displayedP0
ADM-J-002Approve a job listingLogged in as admin1. Select a job 2. Click “Approve”Job published; visible in job listingsP0
ADM-J-003Reject a job listingLogged in as admin1. Select a job 2. Click “Reject” 3. Enter reasonJob rejected; poster notifiedP1
ADM-J-004Preview job detailsLogged in as admin1. Click on a pending jobFull job details displayed for reviewP1

Route: /admin/blacklist

IDDescriptionPreconditionsStepsExpected ResultPriority
ADM-BL-001View blacklisted entriesLogged in as admin1. Navigate to /admin/blacklistList of blacklisted items displayedP0
ADM-BL-002Add entry to blacklistLogged in as admin1. Click “Add” 2. Enter value (email/IP/word) 3. SaveEntry added to blacklistP0
ADM-BL-003Remove entry from blacklistLogged in as admin1. Select an entry 2. Click “Remove” 3. ConfirmEntry removed from blacklistP1
ADM-BL-004Blacklisted email cannot registerEntry in blacklist1. Attempt to register with blacklisted emailRegistration blocked; appropriate error shownP0

Route: /admin/ads

IDDescriptionPreconditionsStepsExpected ResultPriority
ADM-AD-001View ads pending approvalLogged in as admin1. Navigate to /admin/adsList of pending ads displayedP0
ADM-AD-002Approve an adLogged in as admin1. Select an ad 2. Click “Approve”Ad approved; scheduled for displayP0
ADM-AD-003Reject an adLogged in as admin1. Select an ad 2. Click “Reject” 3. Enter reasonAd rejected; advertiser notifiedP1
ADM-AD-004Preview ad contentLogged in as admin1. Click on a pending adAd creative, targeting, and details displayedP1