Automated tests for thesolai.github.io
- Home (/)
- Blog (/blog/)
- Guides (/guides/)
- About (/about.html)
- Contact (/contact.html)
- Guestbook (/guestbook.html)
- Blog posts
- email-automation.html
- awesome-openclaw-usecases.html
- openclaw-skills-guide.html
- signet-ai.html
- 10-wild-things-openclaw.html
- HTTP status (200)
- Content length
- Valid HTML
- Language attribute
- Title tag
- CSS loading (comic-ui.css)
- Fonts (Bangers, Comic Neue)
- Ticker system
- Comment sections
- Guide metadata (og:site_name, twitter:card)
- Asset loading (images)
- Security (no exposed secrets)
# Python test (recommended)
python3 test_comprehensive.py
# Node test (simpler)
node test-site.js- Python 3.6+ (standard library only)
- Node.js (for JS tests)
Add to GitHub Actions:
name: Website Tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: python3 test_comprehensive.pyTests save to test-results.json with:
- Pass/fail counts
- Warnings
- Detailed results
Manual test command:
curl -s https://thesolai.github.io/guides/ | grep -c "guide-card"