# Vital test checklist – Everyspace (everyspace.co.za)

Use this for manual smoke/vital testing. Take a screenshot at each step where indicated.

## 1. Home page load

- [ ] Open **https://everyspace.co.za/** (or https://www.everyspace.co.za/) in a browser.
- [ ] **Screenshot 1:** Capture the first paint (loader may still be visible).
- [ ] Wait up to ~10 seconds.
- [ ] **Screenshot 2:** Capture again. The loader should be gone and the landing page visible (hero with “Find the perfect event venue”, search, activities, etc.).
- [ ] **Pass:** Landing content appears. **Fail:** Stuck on green loading spinner.

## 2. Navigation (no login)

- [ ] Click **Sign Up** or **Log In** in the header – correct page loads.
- [ ] **Screenshot 3:** Sign up or login page.
- [ ] Go back to home (e.g. click logo or back). Home loads.
- [ ] Click **Search** or use the search area – search/listings flow works or modal opens as designed.
- [ ] Open **FAQ** / **Contact** / **Legal** links – pages load.

## 3. Console and network (optional)

- [ ] Open DevTools (F12) → **Console**. Note any red errors (e.g. `net::ERR_ADDRESS_INVALID`, Intercom 403). App should still work; see `docs/fix-gtm-intercom-console-errors.md` if needed.
- [ ] DevTools → **Network**: Reload and confirm main document and assets return 200 (or expected redirects).

## 4. Automated vital test (screenshots)

From the project root (requires `npm install` to have run successfully so Puppeteer is available):

```bash
npm run test:vital
# or: node tests/vital-test-everyspace.js
```

- Saves screenshots under `tests/screenshots/`: `01-initial-load.png`, `02-after-wait.png`.
- Exits with code 0 if landing content appeared within the wait time, 1 if stuck on loader, 2 on error or missing Puppeteer.
- To test a different URL: `VITAL_TEST_URL=https://www.everyspace.co.za/ node tests/vital-test-everyspace.js`

If `npm install` fails (e.g. on Windows with node-sass), use the manual steps above and take screenshots at the points indicated.

## Summary

- **Critical:** Step 1 must pass (no permanent loader). If it fails, the router/loader fix may not be deployed or another issue is blocking mount.
- Steps 2–3 confirm basic navigation and that third-party errors don’t break the app.
