upskill-event-manager/wordpress-dev/tests/e2e/archived
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
..
certificate-generation-checked-in.test.ts docs: Update certificate testing documentation and methodology 2025-05-20 23:10:19 -03:00
certificate-generation.test.ts docs: Update certificate testing documentation and methodology 2025-05-20 23:10:19 -03:00
certificates.test.ts docs: Update certificate testing documentation and methodology 2025-05-20 23:10:19 -03:00
README.md docs: Update certificate testing documentation and methodology 2025-05-20 23:10:19 -03:00

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