Files
Charon/frontend
GitHub Actions edb713547f chore: implement Phase 5 E2E tests for Tasks & Monitoring
Phase 5 adds comprehensive E2E test coverage for backup management,
log viewing, import wizards, and uptime monitoring features.

Backend Changes:

Add POST /api/v1/uptime/monitors endpoint for creating monitors
Add CreateMonitor service method with URL validation
Add 9 unit tests for uptime handler create functionality
Frontend Changes:

Add CreateMonitorModal component to Uptime.tsx
Add "Add Monitor" and "Sync with Hosts" buttons
Add createMonitor() API function to uptime.ts
Add data-testid attributes to 6 frontend components:
Backups.tsx, Uptime.tsx, LiveLogViewer.tsx
Logs.tsx, ImportCaddy.tsx, ImportCrowdSec.tsx
E2E Test Files Created (7 files, ~115 tests):

backups-create.spec.ts (17 tests)
backups-restore.spec.ts (8 tests)
logs-viewing.spec.ts (20 tests)
import-caddyfile.spec.ts (20 tests)
import-crowdsec.spec.ts (8 tests)
uptime-monitoring.spec.ts (22 tests)
real-time-logs.spec.ts (20 tests)
Coverage: Backend 87.0%, Frontend 85.2%
2026-01-24 22:22:39 +00:00
..
2026-01-02 01:01:54 +00:00
2026-01-02 01:01:54 +00:00
2026-01-02 01:01:54 +00:00
2026-01-02 01:01:54 +00:00
2026-01-02 01:01:54 +00:00
2026-01-02 01:01:54 +00:00
2026-01-02 01:01:54 +00:00
2026-01-02 01:01:54 +00:00

Frontend (Vite + React)

Development

cd frontend
npm install
npm run dev

Production build

cd frontend
npm run build