Commit Graph

2 Commits

Author SHA1 Message Date
Matt 41691523b5 feat: Add Poste.io and Chatwoot initial setup Playwright scenarios
Build and Push Docker Image / build (push) Successful in 1m54s Details
- Add poste_initial_setup scenario for mail server wizard automation
  - Configures mailserver hostname, creates admin account
  - Auto-generates 24-char password if not provided
  - Returns credentials in result data

- Add chatwoot_initial_setup scenario for super admin creation
  - Fills name, company, email, password fields
  - Unchecks newsletter subscription checkbox
  - Clicks "Finish Setup" to complete wizard
  - Auto-generates password if not provided

Both scenarios include health checks and return generated credentials
for storage in task results.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-09 14:51:17 +01:00
Matt e8674cb763 feat: add Playwright browser automation executor
Build and Push Docker Image / build (push) Successful in 2m22s Details
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