Commit Graph

2 Commits

Author SHA1 Message Date
5e132e8ccf 🧪 test: add JWT secret rotation BDD scenarios and step implementations
Some checks failed
CI/CD Pipeline / Build Docker Cache (push) Successful in 18s
CI/CD Pipeline / CI Pipeline (push) Failing after 4m45s
- Add features/jwt_secret_rotation.feature with 5 comprehensive scenarios
- Implement 14 new step definitions for JWT secret rotation
- Register all steps using Godog's exact regex patterns
- Ensure no undefined or pending steps
- Maintain backward compatibility with existing BDD tests

Addresses Issue #8: JWT Secret Rotation
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-04-09 13:23:37 +02:00
a17eebc8f2 🧪 test: add comprehensive BDD test suite for user authentication
Added BDD test scenarios covering:
- User registration with validation
- Successful and failed authentication
- Admin authentication with master password
- JWT token generation and validation
- Password reset workflow
- Edge cases and error handling

BDD Features:
- 20+ authentication scenarios
- JWT validation edge cases
- Password reset security scenarios
- Input validation tests
- Error response verification

BDD Infrastructure:
- Step definitions for authentication workflows
- Test server with user management endpoints
- JWT parsing and validation utilities
- Common step patterns for reuse

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-04-09 00:25:48 +02:00