# 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 test
- `certificate-generation-checked-in.test.ts` - Test for checked-in attendees
- `certificates.test.ts` - General certificate functionality test

These files had several issues:
1. Inconsistent use of environment variables
2. Non-standard test structure
3. Configuration incompatibilities with the Playwright setup
4. Lack of proper error handling

## Replacement Approach

The new testing architecture includes:

1. **Manual Testing Script**: `bin/run-certificate-tests.sh` for guided manual testing
2. **Standardized Page Objects**: Updated `CertificatePage.ts` 
3. **Centralized Configuration**: New `Config.ts` utility
4. **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*