Skip to content

Site Builder Tests

Projects Dashboard (/business/apps/sitebuilder)

Section titled “Projects Dashboard (/business/apps/sitebuilder)”
Test IDDescriptionPreconditionsStepsExpected ResultPriority
SB-001List projects with statsUser has site builder projects1. Navigate to /business/apps/sitebuilder.All projects listed. Stats displayed: total projects, published projects, live sites count. Create project form available.P0
SB-002Empty stateNew user, no projects1. Navigate to site builder dashboard.Stats show zeros. Empty state with CTA to create first project or browse templates.P1
SB-003Create projectNone1. Fill project form (name). 2. Submit create action.Project created. User redirected to /editor/{project.id} (visual editor).P0
SB-004Create project with validation errorsNone1. Submit create with empty name or invalid data.Returns 400 with form validation errors.P1
SB-005Delete projectProject exists1. Submit delete action with projectId.Project deleted. success: true returned. Project removed from list.P0
SB-006Delete project missing IDNone1. Submit delete without projectId.Returns 400.P1
SB-007Delete project failureProject does not exist or server error1. Submit delete with invalid projectId.Returns 500 with error message.P2
SB-008Unauthenticated actionsNot signed in1. Submit create or delete without auth.Returns 401.P0

Project Detail (/business/apps/sitebuilder/[projectId])

Section titled “Project Detail (/business/apps/sitebuilder/[projectId])”
Test IDDescriptionPreconditionsStepsExpected ResultPriority
SB-010Load project with pagesProject has pages1. Navigate to /business/apps/sitebuilder/{projectId}.Project details shown. Pages listed. Published site info displayed if published. Form submissions listed if site has a published form. Add page and update project forms available.P0
SB-011Non-existent project returns 404None1. Navigate to /business/apps/sitebuilder/{nonexistent-id}.Returns 404 “Project not found”.P1
SB-012Access another user’s projectProject belongs to different user1. Navigate to project detail for another user’s project.Returns 403 “Forbidden”.P0
Test IDDescriptionPreconditionsStepsExpected ResultPriority
SB-020Publish siteProject exists, not yet published1. Fill subdomain and optional forms email. 2. Submit publish action.Site published. success: true returned. Published site info appears on page.P0
SB-021Publish with custom subdomainNone1. Submit publish with subdomain “my-store”.Site published at the specified subdomain.P1
SB-022Publish with forms emailNone1. Submit publish with forms_email set.Site published. Form submissions will be forwarded to the specified email.P1
SB-023Unpublish siteSite is published1. Submit unpublish action.Site unpublished. success: true returned. Published site info removed.P0
SB-024Unpublish failureSite not published or server error1. Submit unpublish when site is not published.Returns 500 with error message.P2
Test IDDescriptionPreconditionsStepsExpected ResultPriority
SB-030Add pageProject exists1. Fill add page form (title, slug). 2. Submit addPage action.Page created. success: true returned. Page appears in project’s page list.P0
SB-031Add page with validation errorsNone1. Submit addPage with invalid data.Returns 400 with form validation errors.P1
SB-032Delete pagePage exists in project1. Submit deletePage action with pageId.Page deleted. success: true returned.P1
SB-033Delete page missing IDNone1. Submit deletePage without pageId.Returns 400.P2
Test IDDescriptionPreconditionsStepsExpected ResultPriority
SB-040Update project nameProject exists1. Modify project name in update form. 2. Submit updateProject action.Project updated. success: true returned.P1
SB-041Update project with validation errorsNone1. Submit updateProject with invalid data.Returns 400 with form validation errors.P1
Test IDDescriptionPreconditionsStepsExpected ResultPriority
SB-050View form submissionsPublished site has form submissions1. Navigate to project detail.Form submissions section shows all submissions with data and timestamps.P1
SB-051No submissions displayed for unpublished siteSite is not published1. Navigate to project detail.Form submissions section is empty or hidden. No errors.P2

Templates (/business/apps/sitebuilder/templates)

Section titled “Templates (/business/apps/sitebuilder/templates)”
Test IDDescriptionPreconditionsStepsExpected ResultPriority
SB-060Browse templatesTemplates exist in the system1. Navigate to /business/apps/sitebuilder/templates.Templates listed. No auth required for browsing.P0
SB-061Filter by categoryTemplates in multiple categories1. Set ?category=business.Only templates in the “business” category shown.P1
SB-062Search templatesTemplates exist1. Set ?q=landing.Templates matching “landing” are shown.P1
SB-063Use template to create projectUser is signed in1. Submit use action with template_slug and project name.Project created from template. User redirected to /editor/{project.id}.P0
SB-064Use template without slugNone1. Submit use without template_slug.Returns 400.P1
SB-065Use template default nameNone1. Submit use with slug but no name.Project created with name “Untitled Site”.P2
SB-066Preview templateTemplate exists1. Submit preview action with templateId.Template pages data returned for preview.P1
SB-067Preview without template IDNone1. Submit preview without templateId.Returns 400.P2
SB-068Unauthenticated template useNot signed in1. Submit use action.Returns 401.P0

AI Generation (/business/apps/sitebuilder/ai)

Section titled “AI Generation (/business/apps/sitebuilder/ai)”
Test IDDescriptionPreconditionsStepsExpected ResultPriority
SB-070View AI generationsUser has AI-generated sites1. Navigate to /business/apps/sitebuilder/ai.Up to 25 generations listed with metadata. Usage stats displayed. Total count returned.P0
SB-071Empty AI generationsUser has no AI generations1. Navigate to AI page.Empty list. Usage stats show zero.P1
SB-072Unauthenticated accessNot signed in1. Navigate to AI page without auth.Returns 401 “Unauthorized”.P0