Before using this feature, set up the Claude Code integration first. See Claude Code Integration for installation and authentication.
Creating a Test
In Claude Code, use the/decipher-qa slash command followed by a description of what you want to test:
- Explore your codebase to understand your pages, components, and routes
- Generate test steps based on your description
- Run the test on a cloud-hosted browser
- Validate each step and capture screenshots
Describing Your Test
Write your prompt like you’d explain the test to a teammate. Be specific about what the test should do, but you don’t need to be technical. Good prompts:
Tips for better prompts:
- Mention the specific page or feature (e.g., “the settings page”, “the checkout flow”)
- Include what you want to verify (e.g., “verify the success message appears”)
- Mention the user role if the flow requires authentication (e.g., “as an admin user”)
Generating Multiple Tests
You can ask Claude to generate several tests at once:Automatic Self-Fixing
When a generated test fails during validation, Claude automatically diagnoses and fixes the issue:- Decipher’s agent runs each step and flags any failures with diagnostics and screenshots
- Claude analyzes the failure — wrong selector, missing wait, incorrect assertion, etc.
- Claude fixes the failing steps
- Validation resumes from where it left off, without re-running the entire test