**Version:** 1.0.0
Executes final QA validation by running the complete test suite, verifying coverage thresholds, and performing manual testing. Use this to validate code quality and stability before documentation and deployment.
/plugin marketplace add nguyenthienthanh/aura-frog/plugin install aura-frog@aurafrogworkflow/Version: 1.0.0
Purpose: Execute Phase 7 - QA Validation
Trigger: Auto-triggered after Phase 6 approval OR manual /workflow:phase:7
Final QA validation before documentation and deployment.
Deliverables:
Agent: qa-automation
# Clean environment
npm run clean
# Fresh install
npm install
# Run ALL tests
npm test -- --coverage --verbose
# Expected output:
Test Suites: 6 passed, 6 total
Tests: 73 passed, 73 total
Snapshots: 0 total
Time: 12.543 s
Coverage summary:
Statements : 88.5% ( 354/400 )
Branches : 86.0% ( 172/200 )
Functions : 90.0% ( 54/60 )
Lines : 88.5% ( 354/400 )
// Coverage must meet requirements
const coverageRequirements = {
statements: 85, // โ
88.5% meets
branches: 80, // โ
86.0% meets
functions: 85, // โ
90.0% meets
lines: 85, // โ
88.5% meets
};
if (actualCoverage < requirements) {
throw new Error('Coverage below threshold');
}
# Integration tests (if exist)
npm run test:integration
# E2E tests (if applicable)
npm run test:e2e
# Verify app builds successfully
npm run build
# Or for React Native:
npx expo prebuild
npx expo run:ios --configuration Release
npx expo run:android --variant release
QA Agent guides user through:
## Manual Test Checklist
Please test the following scenarios:
### Basic Functionality
- [ ] Component renders correctly
- [ ] Caption can be entered
- [ ] Platform can be selected
- [ ] Generate caption works
- [ ] Save caption works
- [ ] Post now button works
- [ ] Customize button works
### Edge Cases
- [ ] Empty caption handling
- [ ] Max length (280 chars) enforcement
- [ ] Special characters in caption
- [ ] Network error handling
- [ ] API timeout handling
### UI/UX
- [ ] Loading states show correctly
- [ ] Error messages display properly
- [ ] Success messages appear
- [ ] Animations smooth
- [ ] No visual glitches
### Device Testing (if mobile)
- [ ] iPhone 13 (portrait)
- [ ] iPhone 13 (landscape)
- [ ] iPad Air (portrait)
- [ ] iPad Air (landscape)
- [ ] Android phone (Samsung S21)
- [ ] Android tablet
### Performance
- [ ] No lag when typing
- [ ] Media loads quickly
- [ ] Smooth transitions
- [ ] No memory leaks (check DevTools)
### Accessibility
- [ ] Screen reader works
- [ ] Keyboard navigation works
- [ ] Touch targets adequate (44x44pt)
- [ ] Color contrast sufficient
### Regression Testing
- [ ] Existing features still work
- [ ] No breaking changes
- [ ] Navigation unaffected
- [ ] Analytics still firing
// Performance metrics to verify
const performanceMetrics = {
initialRenderTime: '< 100ms', // First paint
interactionTime: '< 50ms', // Button press to response
memoryUsage: '< 50MB', // Memory footprint
bundleSize: '< 500KB', // JS bundle size
};
// Measure actual performance
console.time('Component render');
// ... render component
console.timeEnd('Component render');
// Should be < 100ms
# QA Validation Report
## Test Execution Summary
### Automated Tests
**Status:** โ
PASSED
- Unit Tests: 73/73 passing โ
- Integration Tests: 12/12 passing โ
- E2E Tests: N/A
- Total: 85/85 tests passing โ
**Coverage:**
- Statements: 88.5% โ
(target: 85%)
- Branches: 86.0% โ
(target: 80%)
- Functions: 90.0% โ
(target: 85%)
- Lines: 88.5% โ
(target: 85%)
### Manual Testing
**Status:** โ
PASSED
- Basic Functionality: 7/7 โ
- Edge Cases: 5/5 โ
- UI/UX: 5/5 โ
- Device Testing: 6/6 โ
- Performance: 4/4 โ
- Accessibility: 4/4 โ
- Regression: 4/4 โ
**Total:** 35/35 manual tests passed โ
### Build Verification
**Status:** โ
PASSED
- iOS Debug: โ
Success
- iOS Release: โ
Success
- Android Debug: โ
Success
- Android Release: โ
Success
### Performance Metrics
**Status:** โ
PASSED
- Initial Render: 78ms โ
(< 100ms)
- Interaction Time: 32ms โ
(< 50ms)
- Memory Usage: 42MB โ
(< 50MB)
- Bundle Size: 456KB โ
(< 500KB)
### Issues Found
**Critical:** 0 โ
**Major:** 0 โ
**Minor:** 1
- m-001: Loading spinner slightly off-center on iPad landscape
### Regression Check
**Status:** โ
NO REGRESSIONS
- All existing features work โ
- No breaking changes โ
- Analytics still working โ
- Navigation unaffected โ
## QA Sign-Off
**QA Status:** โ
APPROVED FOR DEPLOYMENT
**Tested By:** QA Automation Agent
**Date:** 2025-11-24
**Confidence:** 95%
**Recommendation:** DEPLOY TO PRODUCTION
Phase 7 complete when:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ฏ PHASE 7 COMPLETE: QA Validation
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ Summary:
QA validation complete - APPROVED FOR DEPLOYMENT
๐ฆ Deliverables:
๐ PHASE_7_QA_VALIDATION_REPORT.md
๐ coverage-report-final.html
๐ test-results-final.xml
๐งช Test Results:
**Automated Tests:** 85/85 passing โ
- Unit: 73/73 โ
- Integration: 12/12 โ
**Manual Tests:** 35/35 passing โ
- Functionality: 7/7 โ
- Edge Cases: 5/5 โ
- UI/UX: 5/5 โ
- Devices: 6/6 โ
- Performance: 4/4 โ
- Accessibility: 4/4 โ
- Regression: 4/4 โ
๐ Final Coverage:
Statements: 88.5% โ
Branches: 86.0% โ
Functions: 90.0% โ
Lines: 88.5% โ
๐๏ธ Build Verification:
โ
iOS Debug/Release
โ
Android Debug/Release
โ
No build errors
โก Performance:
โ
Render: 78ms (< 100ms)
โ
Interaction: 32ms (< 50ms)
โ
Memory: 42MB (< 50MB)
โ
Bundle: 456KB (< 500KB)
๐ Issues: 1 minor (non-blocking)
โ
Success Criteria:
โ
All tests passing
โ
Coverage exceeds target
โ
No critical/major issues
โ
Performance acceptable
โ
QA sign-off obtained
โญ๏ธ Next Phase: Phase 8 - Documentation
Create deployment docs and summary
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๏ธ ACTION REQUIRED
Type "/workflow:approve" โ Proceed to Phase 8 (Documentation)
Type "/workflow:reject" โ Fix QA issues
Type "/workflow:modify <feedback>" โ Retest specific areas
Your response:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
logs/contexts/{workflow-id}/deliverables/
โโโ PHASE_7_QA_VALIDATION_REPORT.md
โโโ coverage-report-final.html
โโโ test-results-final.xml
After approval โ /workflow:phase:8:
Status: Active command
Related: workflow:phase:6, workflow:phase:8, workflow:approve