docs: Add Playwright MCP documentation and update testing instructions
This commit is contained in:
@@ -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:**
|
||||
|
||||
Reference in New Issue
Block a user