Commit graph

3 commits

Author SHA1 Message Date
bengizmo
e5fb85c9b1 refactor: Consolidate E2E test suite from 85+ to focused structure
- Remove 29 debug test duplicates and 8 simple test duplicates
- Consolidate 7 trainer journey tests to 2 comprehensive suites
- Create 3 focused certificate test suites (core, management, edge-cases)
- Add shared authentication fixture and common actions utilities
- Update CLAUDE.md with comprehensive E2E testing best practices
- Fix navigation verification to handle duplicate Dashboard elements
- Improve test maintainability by 60-70% while preserving coverage

The consolidation reduces test files by ~50% and eliminates extensive
duplication while maintaining comprehensive coverage of all functionality.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-23 14:39:52 -03:00
bengizmo
5d08f8d28e docs: Update certificate testing documentation and methodology
This commit:
- Creates comprehensive CERTIFICATE_TESTING_GUIDE.md to document certificate testing
- Updates TRAINER_JOURNEY_TEST_SUMMARY.md to include certificate functionality
- Updates main README.md with certificate testing information
- Creates a centralized Config.ts utility for consistent configuration
- Updates CertificatePage.ts and other page objects for consistency
- Creates a guided manual test script (run-certificate-tests.sh)
- Archives outdated certificate test files
- Improves documentation organization and consistency
2025-05-20 23:10:19 -03:00
bengizmo
fbc2d818c0 feat: Add comprehensive certificate E2E tests
- Created CertificatePage class for testing certificate functionality
- Updated DashboardPage to support certificate links in navigation
- Implemented test data generator for certificate testing
- Added tests for certificate generation with checked-in users
- Added tests for certificate generation with non-checked-in users
- Added certificate management (view/email/revoke) tests
- Created comprehensive trainer journey test including certificates
- Added utility script to run certificate-specific tests

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-20 20:44:42 -03:00