docs: Add Playwright MCP documentation and update testing instructions

This commit is contained in:
2026-03-27 13:51:46 -07:00
parent 83859ca8cd
commit e9365faa10
2 changed files with 32 additions and 2 deletions
+19
View File
@@ -145,6 +145,25 @@ bundle exec rspec spec/acceptance/tournament_partnership_spec.rb:280
bundle exec rspec spec/acceptance/ --format documentation
```
**Run Playwright mobile responsiveness tests:**
```bash
# Start the server
bundle exec hanami server --port 2300 &
# Run Playwright tests
bundle exec rspec spec/playwright/mobile_responsiveness_spec.rb
```
**Test with Playwright MCP (browser automation):**
1. Start the Hanami server: `bundle exec hanami server --port 2300`
2. Use opencode with Playwright MCP tools to:
- Navigate to pages
- Take screenshots
- Test responsive layouts
- Verify mobile UI elements
### Assets
**Compile CSS for development:**