TidyLinker.com
TypeScript
Pull Request Opened
PR #51 opened: Add comprehensive browser testing with Pest v4
Summary
- Comprehensive browser testing suite using Pest v4's Playwright integration
- Tests cover all major user flows: auth, post-job wizard, cleaner onboarding, quote submission, job completion, settings, and admin pages
- Headless by default, runs in CI
Test Files Added
| File | Tests | Coverage |
|---|---|---|
SmokeTest.php | 10 | All page types load without JS errors |
Auth/LoginTest.php | 5 | Login, 2FA, forgot password flows |
Auth/RegisterTest.php | 6 | Role selection, registration, validation |
Client/PostJobFlowTest.php | 8 | 6-step job posting wizard |
Cleaner/OnboardingFlowTest.php | 10 | 5-step onboarding wizard |
Cleaner/QuoteSubmissionTest.php | 7 | Quote creation and management |
Cleaner/JobCompletionTest.php | 5 | Job completion flow |
Settings/SettingsTest.php | 9 | Profile, password, 2FA settings |
Admin/AdminTest.php | 7 | Dashboard, users, verifications |
Total: ~67 browser tests
Test plan
- Single test passes locally (verified headless)
- Full suite passes in GitHub Actions
+2611
additions
-45
deletions
19
files changed