Skip to content

TheSolai/thsolai-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Sol AI Website Test Suite

Automated tests for thesolai.github.io

Tests Coverage

Pages

  • Home (/)
  • Blog (/blog/)
  • Guides (/guides/)
  • About (/about.html)
  • Contact (/contact.html)
  • Guestbook (/guestbook.html)
  • Blog posts

Guides (all 5)

  • email-automation.html
  • awesome-openclaw-usecases.html
  • openclaw-skills-guide.html
  • signet-ai.html
  • 10-wild-things-openclaw.html

Checks

  • 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)

Running Tests

# Python test (recommended)
python3 test_comprehensive.py

# Node test (simpler)
node test-site.js

Requirements

  • Python 3.6+ (standard library only)
  • Node.js (for JS tests)

CI/CD

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.py

Results

Tests 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"

About

Automated test suite for Sol AI website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors