E2 E Test Runner
End-to-End Test Runner
Automated testing of critical user flows
Run Full Test Suite
Tests all critical flows: idea generation, plan creation, AI generation, loans, and pitch decks
5 steps • critical priority
Load Idea Generator page
Fill form with test data
Submit and generate ideas (AI call)
Save generated idea
Verify idea saved in database
8 steps • critical priority
Navigate to Business Plans
Click create new plan
Select template (or skip)
Fill business name and industry
Fill executive summary section
Save plan
Verify completion percentage updates
Verify plan appears in list
6 steps • critical priority
Open existing business plan
Click generate on Executive Summary
Wait for AI generation (30s timeout)
Verify content appears
Save generated content
Check completion % increased
7 steps • high priority
Navigate to Financial Projections
Create new projection
Add revenue stream
Add fixed cost
Calculate projections
View results charts
Verify data accuracy
8 steps • critical priority
Open Smart Loan Application
Select business plan
Verify data extraction
Complete pre-screen
Fill wizard form
Match with lenders
Submit application
Verify saved in database
8 steps • high priority
Navigate to Pitch Deck Generator
Select business plan (>50% complete)
Choose investor type
Select theme
Generate deck (AI - 60-90s)
View generated slides
Verify all slides present
Test share functionality
5 steps • high priority
Open completed business plan
Click export
Generate PDF
Verify PDF downloads
Check PDF content formatting