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:
4
.github/agents/Planning.agent.md
vendored
4
.github/agents/Planning.agent.md
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user