testing
Installation
SKILL.md
Preview Testing Skill
This skill tests Lovable apps in Preview mode - the live, running version of the app - using Claude's browser automation. It manages a standardized test workspace at .claude/lovable-claude/test/ containing test plans, test user profiles, and results.
When to Activate
- Preview testing is enabled in CLAUDE.md (
Preview Testing → Status: on) - User runs testing commands:
/lovable:test-init- Test wizard (scaffold workspace, create test plans)/lovable:test-run- Execute test plans in Preview mode/lovable:test-sync- Resync test plans with new/changed features
- After implementing a feature (when test workspace exists):
- Suggest adding/updating unit tests AND test plans for the new feature
- If
test_after_implementation: on, run the affected test plans automatically
- After auto-deploy (yolo mode integration):
- If
test_after_deploy: on, run smoke-level test plans after deployment
- If
- User mentions preview testing in any form