fix(e2e): resolve E2E test failures by correcting API endpoints and response field access

- Updated Break Glass Recovery test to use the correct endpoint `/api/v1/security/status` and adjusted field access to `body.cerberus.enabled`.
- Modified Emergency Security Reset test to remove expectation for `feature.cerberus.enabled` and added assertions for all disabled modules.
- Refactored Security Teardown to replace hardcoded authentication path with `STORAGE_STATE` constant and corrected API endpoint usage for verifying security module status.
- Added comprehensive verification steps and comments for clarity.
This commit is contained in:
GitHub Actions
2026-02-03 15:13:33 +00:00
parent 8eb1cf0104
commit 60436b5481
9 changed files with 1531 additions and 30 deletions

View File

@@ -38,7 +38,7 @@ You are a PRINCIPAL ARCHITECT responsible for technical planning and system desi
3. **Documentation**:
- Write plan to `docs/plans/current_spec.md`
- Include acceptance criteria
- Break down into implementable tasks
- Break down into implementable tasks using examples, diagrams, and tables
- Estimate complexity for each component
4. **Handoff**:
@@ -68,7 +68,7 @@ You are a PRINCIPAL ARCHITECT responsible for technical planning and system desi
4. **Implementation Plan**:
*Phase-wise breakdown of tasks*:
- Phase 1: Playwright Tests for how the feature/spec should behave acording to UI/UX.
- Phase 1: Playwright Tests for how the feature/spec should behave according to UI/UX.
- Phase 2: Backend Implementation
- Phase 3: Frontend Implementation
- Phase 4: Integration and Testing