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
1.3 KiB
1.3 KiB
Archived Test Files
This directory contains archived test files that have been replaced by newer, more consistent implementations.
Certificate Testing
The following files have been archived and replaced with a new testing approach:
certificate-generation.test.ts- Initial certificate generation testcertificate-generation-checked-in.test.ts- Test for checked-in attendeescertificates.test.ts- General certificate functionality test
These files had several issues:
- Inconsistent use of environment variables
- Non-standard test structure
- Configuration incompatibilities with the Playwright setup
- Lack of proper error handling
Replacement Approach
The new testing architecture includes:
- Manual Testing Script:
bin/run-certificate-tests.shfor guided manual testing - Standardized Page Objects: Updated
CertificatePage.ts - Centralized Configuration: New
Config.tsutility - Documentation: Comprehensive
CERTIFICATE_TESTING_GUIDE.md
Please refer to the main documentation for current testing approaches.
Historical Purpose
These files are kept for historical reference and to document the evolution of the testing approach. They should not be used for current testing efforts.
Last updated: 2025-05-20