chore: add Phase 3 Security Features E2E tests (121 new tests)
Implement comprehensive Playwright E2E test coverage for Security Features: security-dashboard.spec.ts: Module toggles, status indicators, navigation crowdsec-config.spec.ts: Presets, config files, console enrollment crowdsec-decisions.spec.ts: Decisions/bans management (skipped - no route) waf-config.spec.ts: WAF mode toggle, rulesets, threshold settings rate-limiting.spec.ts: RPS, burst, time window configuration security-headers.spec.ts: Presets, individual headers, score display audit-logs.spec.ts: Data table, filtering, export CSV, pagination Bug fixes applied: Fixed toggle selectors (checkbox instead of switch role) Fixed card navigation selectors for Security page Fixed rate-limiting route URL (/rate-limiting not /rate-limit) Added proper loading state handling for audit-logs tests Test results: 346 passed, 1 pre-existing flaky, 25 skipped (99.7%) Part of E2E Testing Plan Phase 3 (Week 6-7)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Charon E2E Testing Plan: Comprehensive Playwright Coverage
|
||||
|
||||
**Date:** January 16, 2026
|
||||
**Status:** Planning - Revised (v2.1)
|
||||
**Date:** January 18, 2026
|
||||
**Status:** Phase 3 Complete - 346+ tests passing
|
||||
**Priority:** Critical - Blocking new feature development
|
||||
**Objective:** Establish comprehensive E2E test coverage for all existing Charon features
|
||||
**Timeline:** 10 weeks (with proper infrastructure setup and comprehensive feature coverage)
|
||||
|
||||
Reference in New Issue
Block a user