Remove outdated documentation files

- Deleted `I18N_IMPLEMENTATION_PLAN.md` and `PROJECT_PROGRESS.md` to declutter the repository.
- These documents were finalized, no longer relevant, and superseded by implemented features and external references.
This commit is contained in:
Felipe Cardoso
2025-11-27 18:55:29 +01:00
parent 77ed190310
commit 29074f26a6
20 changed files with 95 additions and 5566 deletions

View File

@@ -6,7 +6,7 @@ This directory contains end-to-end (E2E) tests for the authentication system usi
## Test Coverage
- **Login Flow** (`auth-login.spec.ts`) - 8 tests
- **Login Flow** (`auth-login.spec.ts`)
- Form validation
- Invalid credentials handling
- Successful login
@@ -14,14 +14,14 @@ This directory contains end-to-end (E2E) tests for the authentication system usi
- Password visibility toggle
- Loading states
- **Registration Flow** (`auth-register.spec.ts`) - 11 tests
- **Registration Flow** (`auth-register.spec.ts`)
- Form validation (email, first_name, password, confirmPassword)
- Field-specific validation errors
- Duplicate email handling
- Successful registration
- Navigation and UI interactions
- **Password Reset Flow** (`auth-password-reset.spec.ts`) - 16 tests
- **Password Reset Flow** (`auth-password-reset.spec.ts`)
- Request reset email validation
- Success message display
- Confirm with token validation
@@ -29,7 +29,7 @@ This directory contains end-to-end (E2E) tests for the authentication system usi
- Password strength validation
- Password mismatch validation
- **AuthGuard Protection** (`auth-guard.spec.ts`) - 8 tests
- **AuthGuard Protection** (`auth-guard.spec.ts`)
- Route protection
- Public route access
- Token persistence
@@ -60,36 +60,9 @@ npm run test:e2e -- --debug
## Current Status
**Test Results:** 34/43 passing (79% pass rate)
Comprehensive E2E test coverage across all authentication flows. Tests are designed to be non-flaky with proper waits and selectors.
### Passing Tests ✅
- All AuthGuard tests (8/8)
- Most Login tests (6/8)
- Most Registration tests (7/11)
- Most Password Reset tests (13/16)
### Known Issues 🔴
The 9 failing tests are due to minor validation message text mismatches between test expectations and actual component implementation:
1. **Login**: Invalid email validation message wording
2. **Login**: Invalid credentials error display timing
3. **Register**: Email validation message wording (3 tests)
4. **Register**: Password validation messages (2 tests)
5. **Password Reset**: Validation message wording
6. **Password Reset**: Success message wording
7. **Password Reset**: Strict mode violation (multiple elements matched)
### Recommendations
These failures can be fixed by:
1. Inspecting the actual error messages rendered by forms
2. Updating test assertions to match exact wording
3. Adding more specific selectors to avoid strict mode violations
The core functionality is working - the failures are only assertion mismatches, not actual bugs.
Run `npm run test:e2e` to verify current status.
## Prerequisites