letsbe-sysadmin/app/playwright_scenarios/nextcloud
Matt e8674cb763
Build and Push Docker Image / build (push) Successful in 2m22s Details
feat: add Playwright browser automation executor
Stage 1 - Core Framework:
- Add PlaywrightExecutor with scenario-based dispatch
- Implement mandatory domain allowlists for security
- Add route interception to block unauthorized domains
- Create BaseScenario ABC, ScenarioOptions, ScenarioResult
- Add scenario registry with @register_scenario decorator
- Add validation helpers (is_domain_allowed, validate_allowed_domains)
- Add Playwright config settings (artifacts dir, timeouts)

Stage 2 - Scenarios:
- Add 'echo' test scenario for connectivity verification
- Add 'nextcloud_initial_setup' for first-time admin setup wizard
- Install Playwright + Chromium in Dockerfile
- Configure docker-compose with artifacts volume and security opts

Includes 32 unit tests for validation logic and executor behavior.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-08 15:55:16 +01:00
..
__init__.py feat: add Playwright browser automation executor 2025-12-08 15:55:16 +01:00
initial_setup.py feat: add Playwright browser automation executor 2025-12-08 15:55:16 +01:00