Skip to content

Inspect repo and identify issues with tests#33

Open
jordanpartridge wants to merge 3 commits intomasterfrom
claude/inspect-repo-issues-01NLPtzgoQNJrTCgAKXVwhSK
Open

Inspect repo and identify issues with tests#33
jordanpartridge wants to merge 3 commits intomasterfrom
claude/inspect-repo-issues-01NLPtzgoQNJrTCgAKXVwhSK

Conversation

@jordanpartridge
Copy link
Copy Markdown
Collaborator

No description provided.

- Dockerfile for production builds
- Dockerfile.dev for development with volume mounts
- docker-compose.yml for production
- docker-compose.dev.yml for development
- docker-entrypoint.sh for container initialization
- scripts/docker-test.sh for running browser tests in Docker
- .dockerignore to keep images clean

Includes Playwright/Chromium deps for Pest 4 browser testing.
Infrastructure as code for complete Laravel development:

Services:
- app: PHP 8.4 Laravel application
- vite: Node 22 dev server for HMR
- horizon: Queue worker for background jobs
- scheduler: Laravel task scheduler
- postgres: PostgreSQL 16 with pgvector for embeddings
- redis: Redis 7 for cache/sessions/queues
- mailpit: Email testing UI
- playwright: Browser testing (profile: testing)

Scripts:
- scripts/docker-up.sh: Start the stack
- scripts/docker-test.sh: Run unit/feature tests
- scripts/docker-browser-test.sh: Run Pest 4 browser tests
- scripts/docker-fresh.sh: Fresh install with migrate:fresh

Removed simpler single-container setup in favor of full stack.
Comprehensive Pest 4 browser test that acts as automated UI reviewer:

- Public pages review (welcome, login, register)
- Dashboard review (empty and with data)
- Chat pages review (index, show, with messages)
- Settings pages review (profile, password, appearance, 2FA, providers)
- Navigation flow verification
- Responsive breakpoints (320px to 1920px)
- Dark mode testing on all pages
- Mobile viewport testing
- Basic accessibility checks
- Error state review (404)
- Performance baseline check

Screenshots saved to storage/app/screenshots/review/ for visual inspection.

Run with: php artisan test tests/Browser/UiReviewAgentTest.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants