Execute these prompts one by one to test the WSL application systematically.
Prompt for Playwright:
Navigate to http://localhost:3000 and test the basic application flow:
1. Take a screenshot of the initial page
2. Click through the sales intro page (if present)
3. Select a user from the login page (choose "Maya Rodriguez" or first available)
4. Wait for authentication to complete
5. Verify the main sports event page loads
6. Test switching between tablet and mobile preview modes
7. Take screenshots of both preview modes
8. Test opening and closing the side menu
Prompt for Playwright:
Test the core chat features in the Heat Lounge:
1. Locate and click on the Heat Lounge chat widget
2. Send a test message: "Testing real-time chat 🤙"
3. Wait 2 seconds and verify the message appears
4. Test emoji reactions by clicking available emoji buttons
5. Check the online presence counter updates
6. Test the language toggle buttons (EN, PT, ES)
7. Take a screenshot of the chat interface with messages
Prompt for Playwright:
Test the video stream and reaction system:
1. Locate the video stream widget
2. Click the play button and verify video loads
3. Test stream reaction buttons (🤙, 🌊, 🔥)
4. Verify reaction counts appear and update
5. Take screenshot of the stream interface with reactions
6. Test stream presence tracking
Prompt for Playwright:
Test the fantasy scoring system:
1. Navigate to or locate the Fantasy Live widget
2. Verify surfer information displays (Griffin Colapinto, John John Florence)
3. Look for Power Surfer indicators and multipliers
4. Check for score updates and leaderboard
5. Take screenshot of fantasy interface
6. Test any interactive fantasy elements
Prompt for Playwright:
Test the polling and prediction system:
1. Look for active polls or prop predictions
2. If available, participate in a poll by voting
3. Verify vote submission and real-time results
4. Check for rapid prediction polls ("Will this wave score 8+?")
5. Test prediction streak tracking if visible
6. Take screenshot of polling interface
Prompt for Playwright:
Explore and test advanced features:
1. Look for clip creation button ("Clip Last 30s")
2. Test creating a clip if available
3. Find and test co-watch party features
4. Check for athlete AMA rooms or athlete interactions
5. Test any advertisement clicking for points
6. Explore side menu options and data controls
Prompt for Playwright:
Test mobile device compatibility:
1. Set viewport to mobile size (375x667)
2. Navigate through all major features in mobile view
3. Test touch interactions on chat and buttons
4. Verify mobile-specific UI adaptations
5. Test mobile keyboard interaction with chat input
6. Take screenshots of key mobile interfaces
Prompt for Playwright:
Test functionality in different browsers:
1. Repeat core tests in Firefox browser
2. Test the same functionality in WebKit/Safari
3. Compare performance and functionality across browsers
4. Document any browser-specific issues
5. Verify consistent visual appearance
Prompt for Playwright:
Test error handling and edge cases:
1. Test with throttled network connection
2. Try sending empty messages or invalid inputs
3. Test rapid message sending (spam protection)
4. Refresh page during active chat session
5. Test behavior when offline/online
6. Verify error messages are helpful and clear
Prompt for Playwright:
Test data synchronization:
1. Open application in a second browser window/tab
2. Send messages from one window, verify they appear in both
3. Test presence updates across windows
4. Verify score updates sync across instances
5. Test logout and re-login data persistence
6. Check message history after page refresh
Prompt for Playwright:
Test translation capabilities:
1. Switch language to Portuguese (PT)
2. Send messages that should trigger translation
3. Toggle translation display on/off
4. Test translation confidence indicators
5. Verify language-specific UI adaptations
6. Test returning to English (EN) mode
Prompt for Playwright:
Test real-time performance:
1. Measure message delivery time (should be <100ms)
2. Test with rapid interactions (multiple reactions, messages)
3. Monitor for memory leaks during extended use
4. Test concurrent feature usage (chat + polls + fantasy)
5. Verify performance during high activity
6. Document any performance issues
# Navigate to web directory
cd /Users/joshua/ViberCoded/WSL/web
# Start the application
npm run dev
# In another terminal, start backend (optional)
cd /Users/joshua/ViberCoded/WSL/backend
npm run generatorFor each test, use these Playwright MCP commands:
- Navigate:
playwright_navigatewith URL - Screenshots:
playwright_screenshotfor documentation - Interactions:
playwright_click,playwright_fillfor user actions - Verification:
playwright_get_visible_textto check content - Network: Use network throttling options for performance tests
For each test, record:
- ✅ PASS: Feature works as expected
- ❌ FAIL: Issue encountered (with screenshot)
⚠️ SLOW: Performance concern (>3 second response)- 💡 NOTE: Observation or improvement suggestion
- Chat messages: Appear within 2 seconds
- User authentication: Completes successfully
- Stream reactions: Update in real-time
- Mobile experience: Fully functional
- No console errors: Clean JavaScript execution
- Visual consistency: Matches surf/WSL branding
- Start with Tests 1-3 for core functionality validation
- Document any critical issues immediately
- Progress to interactive features (Tests 4-6)
- Complete responsive testing (Tests 7-8)
- Finish with edge cases and performance (Tests 9-12)
This testing sequence provides immediate actionable validation of the WSL application's core functionality and real-time features.